Title: Changing table width issues
Last modified: August 30, 2016

---

# Changing table width issues

 *  Resolved [Roboc](https://wordpress.org/support/users/roboc/)
 * (@roboc)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/changing-table-width-issues/)
 * Im trying to reduce the width of a table but it doesn’t seem to be working. here
   is a link to the table [http://optcguide.com/islands/](http://optcguide.com/islands/).
   I want the table at the top to not be the width of the page, i would like it 
   to stop were the text stops.
 * i’ve tried
    `.tablepress-id-1393 .column-1 { width: 50px; }
 * .tablepress-id-1393 .column-2 {
    padding: 4px; width: 300px; }`
 * but its not working. Maybe its my twentyeleven theme causing the problem?
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/changing-table-width-issues/#post-6185560)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Instead of setting the column widths, you’ll just have to tell the browser to
   not stretch the table to 100%:
 *     ```
       .entry-content .tablepress-id-1393 {
       	width: auto;
       }
       ```
   
 * (That extra `.entry-content` is necessary here to override a theme CSS setting
   for the table.)
 * Regards,
    Tobias
 *  Thread Starter [Roboc](https://wordpress.org/support/users/roboc/)
 * (@roboc)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/changing-table-width-issues/#post-6185566)
 * Perfect. Thankyou very much! I really appreciate it. 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/changing-table-width-issues/#post-6185568)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘Changing table width issues’ 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

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

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/changing-table-width-issues/#post-6185568)
 * Status: resolved