Title: Decrease Table Width
Last modified: October 9, 2017

---

# Decrease Table Width

 *  Resolved [Tony S.](https://wordpress.org/support/users/tony-s/)
 * (@tony-s)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/decrease-table-width/)
 * Hi, I know the answer to my question must be somewhere because it’s so basic.
   But I can’t find it. Maybe you can direct me to it. The question is I want to
   reduce the with of one of my tables. How do I do it? I just need the code? Can
   you help

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/decrease-table-width/#post-9571992)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * This depends 🙂 Usually, something like
 *     ```
       .tablepress-id-123 {
         width: auto;
       }
       ```
   
 * works best. If not, can you please post a link to the page with the table where
   this problem happens, so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [Tony S.](https://wordpress.org/support/users/tony-s/)
 * (@tony-s)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/decrease-table-width/#post-9574524)
 * Thank You Tobias that worked! Thanks for the lesson. One more thing could you
   tell me the code to center the table on the page? Your help is very much appreciated.
   😉
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/decrease-table-width/#post-9575913)
 * Hi,
 * for that, please try extending the code to
 *     ```
       .tablepress-id-123 {
         width: auto;
         margin: 0 auto 1em;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [Tony S.](https://wordpress.org/support/users/tony-s/)
 * (@tony-s)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/decrease-table-width/#post-9579099)
 * Thanks again for your help Tobias. I knew you would know. You have been an amazing
   help.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/decrease-table-width/#post-9579540)
 * 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/#new-post)
   here in the plugin directory. Thanks!

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

The topic ‘Decrease Table 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/)

## Tags

 * [edit table](https://wordpress.org/support/topic-tag/edit-table/)
 * [table width](https://wordpress.org/support/topic-tag/table-width/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/decrease-table-width/#post-9579540)
 * Status: resolved