CSV to SortTable
[resolved] Modify width (4 posts)

  1. athemus
    Posted 3 years ago #

    After upgrading to 4.1.3, I've lost the ability to change the width of the table. It bleeds onto the right sidebar. How can I modify the width of the table to fit the content pane? (BTW, I love the plugin).

    Here is the page: http://www.westellesmere.com/?page_id=689


  2. Shaun Scovil
    Plugin Author

    Posted 3 years ago #

    Not sure why the upgrade would have caused the problem, but I did find a solution. Go to WP-Admin > Appearance > Editor and add this line to the very bottom of your theme's style.css file:

    table.sortable td {
        word-break: break-all;

    That should do the trick.

  3. Shaun Scovil
    Plugin Author

    Posted 3 years ago #

    Also, you may want to add this:

    table.sortable th {
        word-break: break-all;
        word-wrap: break-word;
        white-space: nowrap;
    table.sortable .col1 {
        min-width: 2.6em;

    That will keep your column headers from breaking across multiple lines, and keep your first column wide enough to accommodate four-digit numbers.

  4. athemus
    Posted 3 years ago #

    Hi Shaun,

    Thank you! The solution in your first reply did the trick. I also added the solution in your second reply to be safe.

    I had been looking around and tried the header code many times before posting my q, but it didn't work. I totally forgot about the column code.

    Keep up the good work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CSV to SortTable
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.