Support » Plugin: TablePress » Equal Column width

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The table on that page is table 17, and not 80, so that the CSS from above will not help. Now, you are however using similar CSS for table 17 already, so that you will simply have to adjust that a bit. Instead of setting the same width with the CSS

    .tablepress-id-17 .column-1,
    .tablepress-id-17 .column-2,
    .tablepress-id-17 .column-3 {
      width: 150px;
    }

    you will need to set different column widths here, e.g.

    .tablepress-id-17 .column-1,
    .tablepress-id-17 .column-2 {
      width: 20%;
    }
    .tablepress-id-17 .column-3 {
      width: 60%;
    }

    Regards,
    Tobias

    thanks tobias for your fast reply. but nothing changes even after i input the code that you stated above with the percentages.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    please hard-refresh the page in the browser (press Shift+F5) to clear the browser cache. After that, you should see the change.

    Then, I also recommend to uncheck the “Use DataTables” checkbox on the “Edit” screen of this table, as you are not using the feature and could therefore save a bit of loading time.

    Regards,
    Tobias

    awesome as always Tobias! thank you for the fast reply and always the right answer!

    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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Equal Column width’ is closed to new replies.