Title: Table Width Issue (columns and overall width)
Last modified: August 24, 2016

---

# Table Width Issue (columns and overall width)

 *  Resolved [abisti](https://wordpress.org/support/users/abisti/)
 * (@abisti)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/table-width-issue-columns-and-overall-width/)
 * About a third of the way down this page:
 * [http://cyclesofhistory.com/poiuy09876/uranusneptune-1993-2165/](http://cyclesofhistory.com/poiuy09876/uranusneptune-1993-2165/)
 * there’s a “Test Table’ using Table press – the idea is to present all the data
   on the page like that, but I can’t seem to get it to look the same as the rest
   of the content – the left column and the right column are both too wide (viewed
   in Chrome on Mac, at least).
 * I’ve been trying to get the column widths ‘thinner’ with the following custom
   CSS (all tables to look the same, so no IDs needed), but with no success – can
   you advise please
 *     ```
       .tablepress .odd td {
       	background-color: #4c7f7f;
       }
   
       .tablepress .even td {
       	background-color: #264040;
       }
   
       .tablepress,
       .tablepress tr,
       .tablepress tbody td,
       .tablepress thead th,
       .tablepress tfoot th {
       	border: none;
       }
   
       .tablepress tbody td,
       .tablepress thead th {
       	padding-left: 0;
       }
   
       .tablepress .column-1 {
       	width: 97px;
       }
   
       .tablepress .column-2 {
       	width: 500px;
       }
   
       #wrapper .tablepress {
       	width: auto;
       }
       ```
   
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/table-width-issue-columns-and-overall-width/#post-6013979)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Just change
 *     ```
       #wrapper .tablepress {
       ```
   
 * to
 *     ```
       .tablepress {
       ```
   
 * to make that command apply. The `#wrapper` is not necessary here.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Table Width Issue (columns and overall 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: [11 years, 1 month ago](https://wordpress.org/support/topic/table-width-issue-columns-and-overall-width/#post-6013979)
 * Status: resolved