• Resolved macpheek

    (@macpheek)


    Hi, I have a table with 3 columns of data, on screen width 935px I want the column widths to be 50%, so the first 2 are visible and the 3rd has to be scrolled horizontally to view it. I’ve added some custom css, but it only seems to be applying to the first column of data. Are you able to help?
    In my table settings I’ve ticked ‘ Enable horizontal scrolling, to make viewing tables with many columns easier.’

    Hope you can help,
    Many thanks

    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.

    Here, please first delete the extra 5th column, which does not seem to be in use right now (might cause formatting problems though).

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

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

    Note that this is using pixel widths, as doing that with percentage widths is not really possible.

    Regards,
    Tobias

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