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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The best approach to set column widths is to use CSS code, like that from https://tablepress.org/faq/column-widths/

    Now, in your case, because you have multiple tables on the same page, and because you want them to have the same width, you can use a single piece of CSS code. That way, you don’t have to do it for all table IDs separately. Instead, you use the ID that this page has on your site, 1290.

    Then, the CSS code can be written as

    .page-id-1290 .tablepress .column-1 {
        width: 20%;
    }

    Just add that to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress.

    Regards,
    Tobias

    Thread Starter blumeremc

    (@blumeremc)

    Tanks Tobias it works great!

    Best regards Blume

    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 ‘Problem with column width’ is closed to new replies.