Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Please revert those padding changes and then try this “Custom CSS”:

    .tablepress-id-5 {
    	width: auto!important;
    	margin: 0 auto 1em !important;
    }

    You will basically just have to tell the browser to not stretch the table to full width.

    Regards,
    Tobias

    Thread Starter thewildcard

    (@thewildcard)

    Thank You. Works perfect!

    How do I add a border to the left of column 1 and to the right of column 4. I tried the following under column 1: border-left: 2px border-color: #0000 and border-style: solid

    the result places borders around the entire cells in column 1 And the same goes for column 4 when I try to add a right border

    In other words, I want to add a box column around the entire table.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    from what I can see, the best solution might be to not set these CSS properties individually, but in their “shorthand” format:
    border-left: 2px solid #000000;
    Can you maybe try that?

    Regards,
    Tobias

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

The topic ‘column widths’ is closed to new replies.