• Resolved paul2411

    (@paul2411)


    Hi Tobias,

    I have an issue with sizing the columns. Here is the css.

    For some reasons, the Css does not apply on the last 2 columns. I got 2 tables, it works perfectly fine on the second table but not on the other…I don’t understand. They are supposed to be identical.

    /*largeur columns*/
    .tablepress .column-2,
    .tablepress .column-3,
    .tablepress .column-4
    .tablepress .column-5 {
    	width: 15% !important;
    	word-break: break-word;
    }

    Link to screenshot : Screen

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    There’s a comma missing after .column-4, which makes this not work.
    That said, I don’t recommend using the general .tablepress selector here, as this really makes this apply to all TablePress tables on your site — greatly reducing flexibility. Instead, I recommend to use the table ID based selector .tablepress-id-1.

    Regards,
    Tobias

    Thread Starter paul2411

    (@paul2411)

    How could I miss that !!

    Thank you very much.

    (I just made you a donation)

    Plugin Author TobiasBg

    (@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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Width of columns won’t change’ is closed to new replies.