Title: Attempting to decrease table width
Last modified: August 29, 2018

---

# Attempting to decrease table width

 *  Resolved [mtrivette](https://wordpress.org/support/users/mtrivette/)
 * (@mtrivette)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/attempting-to-decrease-table-width/)
 * I know this has been covered before and I’m attempting to decrease the table 
   width to make all of the columns (13 total) fit on the page. I tried the following
   code in the custom CSS and unfortunately it didn’t work.
 * .tablepress-id-58 {
    width: auto; }
 * Anyone have any suggestions? Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fattempting-to-decrease-table-width%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/attempting-to-decrease-table-width/#post-10635120)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * I’m afraid that won’t work like that. The content in your table (especially the
   table header cells) simply require more width (mainly caused by the long word“(
   Recommended)”). This long word determines the minimum width of the column.
 * You could gain a little bit of space by reducing the padding (inner white space
   in the table cells) by adding this to the “Custom CSS” textarea on the “Plugin
   Options” screen of TablePress:
 *     ```
       .tablepress thead th {
         padding: 6px 20px 6px 6px !important;
       }
       .tablepress tbody td {
         padding: 6px !important;
       }
       ```
   
 * Other than that, I can only suggest to remove the word “(Recommended), or make
   the table horizontally scrollable, using the `scroll` mode of the TablePress 
   Extension from [https://tablepress.org/extensions/responsive-tables/](https://tablepress.org/extensions/responsive-tables/)
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Attempting to 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

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

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