Title: Table Resizing to Max Width
Last modified: November 6, 2019

---

# Table Resizing to Max Width

 *  Resolved [courtneystrader8744](https://wordpress.org/support/users/courtneystrader8744/)
 * (@courtneystrader8744)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/table-resizing-to-max-width/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftable-resizing-to-max-width%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/table-resizing-to-max-width/#post-12104398)
 * 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](https://wordpress.org/support/users/courtneystrader8744/)
 * (@courtneystrader8744)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/table-resizing-to-max-width/#post-12104478)
 * That works! Perfect! Thank you for the quick response!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/table-resizing-to-max-width/#post-12104492)
 * 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](https://wordpress.org/support/plugin/tablepress/reviews/)
   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.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/table-resizing-to-max-width/#post-12104492)
 * Status: resolved