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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The problem here mainly is that the long words in your table like “Performance” define the minimum width for each column (because the browser can not add automatic hyphenation). The sum of these minimum column widths then defines the minimum table width.

    You could maybe reduce the inner white space (padding) in the table a little bit. This would save some space. For that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress td,
    .tablepress th {
    	padding: 4px !important;
    }

    If that still does not help, you will have to make the content smaller, or you could e.g. use horizontal scrolling, e.g. via the scroll mode of the Responsive Tables Extension from https://tablepress.org/extensions/responsive-tables/ (which is already installed as far as I can see).

    In addition, it seems that you are using the “Inline Google Spreadsheet Viewer” plugin, which is loading a quite a few JavaScript files for the DataTables JS library from its CDN. I recommend to deactivate that plugin (unless you are really using it).

    Regards,
    Tobias

    Thread Starter carpathia

    (@carpathia)

    Mahalo Tobias!

    Certainly an improvement. I did “tic” the horizontal scrolling in the table options. I did not see any changes in the way of the scrolling showing up. Guess it is not needed?

    Appreciate your quick response time. I’ll certainly make a donation.

    -ln

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    correct, the scrolling will only show if it’s actually needed on the given screen.

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setting Width Of Overall Table’ is closed to new replies.