• Resolved frasward40

    (@frasward40)


    Hi there

    I’m trying to set a wider width of column 2 and 3 in my table, so that I do not have so much content wrapping.

    I’ve tried applying a few of the solutions in the forums but to no success. I’ve also tried using the Responsive Extension, but that doesn’t help either.

    Currently have the below in the plugins CSS settings.

    .tablepress-id-1 .column-2 {
    width: 300px;
    }

    Can you help?

    Thanks and great plugin!

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

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    At first, let’s fix another problem: Please go to the “Edit” screen of this page, and switch from the “Visual” to the “Text” editor. Then, please remove all <pre> and </pre> and similar HTML tags around the [table ... /] Shortcode.
    This should already help with the layout.

    Then, please also add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .page .tablepress th,
    .page .tablepress td {
        padding: 8px
    }
    .page .tablepress th {
        padding-right: 20px;
    }

    Now, increasing the width of that column will then still not work, simply as there is no “free” available space in the table. The other columns need space as well, after all…

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Column Width’ is closed to new replies.