• Resolved tahvan

    (@tahvan)


    I am trying to change the column width using the instructions you provided on your Support website (http://tablepress.org/faq/column-widths/). The table width is too wide – the table expands to fit the full width of the page. If there is a 1-column table, that column stretches across the whole page.

    You provided 2 custom CSS options: change the width or change the padding. Neither option worked for me. I looked through the forum and noticed another user had the same problem (but he had an image). You said his problem was the image. My page does not have an image.

    Can you help me figure out the problem? Here is an example of where the problem occurs: http://bit.ly/Ku71p7

    Using Tablepress version 1.3

    Thanks very much.

    http://wordpress.org/plugins/tablepress/

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.

    I think all that you need to do here is to tell the table to not stretch to the full width, but to just take the width that the content needs:

    .tablepress-id-123 {
      width: auto;
    }

    After that, the CSS for the individual columns should also show results.

    Regards,
    Tobias

    Thread Starter tahvan

    (@tahvan)

    This works perfectly. Thanks very much for your speedy reply!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

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

The topic ‘change column width CSS not working’ is closed to new replies.