• Resolved dwright21

    (@dwright21)


    Hello, I’ve got some custom CSS to adjust the column widths in the left table. It looks like this:

    .tablepress-id-60 .column-1,
    .tablepress-id-60 .column-2,
    .tablepress-id-60 .column-3,
    .tablepress-id-60 .column-4 {
    	width: 80px !important;
    }

    I added the “!important” code as the inline CSS was overwriting the custom CSS. But even with this code its still not changing the column widths to this value.

    Thank you.

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

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The code itself looks correct, but unfortunately, I could not directly check it on your site, as that only gives me a “404 Not found” error. Is that really a published page?

    Regards,
    Tobias

    Thread Starter dwright21

    (@dwright21)

    Hi Tobias,

    My apoligies – the link should now work.

    Cheers.

    Thread Starter dwright21

    (@dwright21)

    Hi Tobias, I understand why the column width wasn’t changing now.. I had set the width to 50 %!.

    My issue now is that the tables will not go side-by-side, even though it appears there is space? My CSS is as follows:

    #tablepress-60_wrapper {
    	float: left;
    	width: 45%;
    }
    
    #tablepress-61_wrapper {
    	float: right;
    	width: 45%;
    }
    
    #tablepress-61_wrapper + h2 {
    	clear: both;
    }

    Cheers, Duncan

    • This reply was modified 5 years, 3 months ago by dwright21.
    Thread Starter dwright21

    (@dwright21)

    Not too worry – I set the ‘clear’ property to ‘none’ and that’s all working ?? great plugin btw thank you! Have left a rating.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    Great to hear that you found a solution for this ??

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tablepress: Unable to adjust column widths’ is closed to new replies.