• Resolved courtneystrader8744

    (@courtneystrader8744)


    I have been trying to make my table width smaller than full screen. I think my theme is overriding it because it will be the correct width and then resize to the full screen a second later. Can you help me out? This is what I have input right now:

    table.tablepress-id-1 {
    width: 500px;
    }

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    As you have turned on the JavaScript features (scrolling in particular), you must set the width on the container element:

    #tablepress-1_wrapper {
      width: 500px;
    }

    Regards,
    Tobias

    Thread Starter courtneystrader8744

    (@courtneystrader8744)

    That works! Perfect! Thank you for the quick response!

    Plugin Author Tobias Bäthge

    (@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 ‘Table Resizing to Max Width’ is closed to new replies.