• Resolved ltamm

    (@ltamm)


    I want to set my table width to 100%. Should i then set the column widths in % instead if pixels?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The table width should actually be at 100% already. Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter ltamm

    (@ltamm)

    You’ll find the page on wordpress.westiealliansen.se/anvanda-hanhundar/
    Would you please look at my page on an iPad (landscape mode) where the text in column 2 is on two lines. It’s a date so it’s doesn’t look very nice.

    Kind regards and thank you for your quick answers
    Lena

    PS My HP is for a dog club with several tables, but this one was the first I mad yesterday.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the link! So what you actually want is to prevent the dates from showing in two lines. For that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-3 .column-2,
    .tablepress-id-3 .column-6 {
      white-space: nowrap;
    }

    With this, the dates will always be one line, no matter what the column widths are.

    Regards,
    Tobias

    Thread Starter ltamm

    (@ltamm)

    Thank you!

    It works fine.
    Regards
    Lena

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Set table width to 100%’ is closed to new replies.