Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Andrew,

    thanks for your post, and sorry for the trouble.

    You will basically just have to manually set column widths (for the first column should be sufficient) here. The reason why they are different is that the first table simply has much longer texts in its cells, so that the browser calculates different widths than in the second table, which has shorter texts.

    Setting column widths is possible with a small piece of CSS code on the “Plugin Options” screen of TablePress, please see https://tablepress.org/faq/column-widths/ for an example.

    Regards,
    Tobias

    Thread Starter AndrewKendell

    (@andrewkendell)

    Hey i was using the FAQ section about column width and its not working. I am still new to using code so i could be typing something wrong but can you help me with this? This is the codes i have been trying to use and its not working when i look through the preview or refresh the page with the table on it.

    Codes i used:

    ‘.tablepress-id-16 .column-1 {
    width: 80px;
    }’

    ‘.tablepress-id-16 .column-1 {
    padding: 3px;
    }’

    This is the code i used for table 16 and it didn’t work on the site.

    Thank you for the help,
    Andrew Kendell

    Thread Starter AndrewKendell

    (@andrewkendell)

    I figured it out on my own.

    Thank you

    Hi,

    great! Good to hear that everything is working now!

    Best wishes,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to align columns in TablePress’ is closed to new replies.