Title: setting column width
Last modified: August 21, 2016

---

# setting column width

 *  Resolved [skipperdoodle](https://wordpress.org/support/users/skipperdoodle/)
 * (@skipperdoodle)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/setting-column-width/)
 * The instructions for setting column width could not be clearer.
    Unfortunately,
   no matter what I do, I’m unable to keep the tables from stretching the width 
   of the text area.
 * I am inputting these exactly as instructed and…no dice.
 * And, just to test, I have followed the directions on changing font and color 
   and that worked fine. So the problem doesn’t appear to be something with my ability
   to follow directions.
 * Can anyone shed any light on this? I’ve spent well over an hour on it and, for
   the life of me, I’m out of ideas. Thanks!
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

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

 *  Thread Starter [skipperdoodle](https://wordpress.org/support/users/skipperdoodle/)
 * (@skipperdoodle)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/setting-column-width/#post-4123224)
 * Ok, I take it back…it does appear to be doing something…but not what I’m trying
   to get it to do. Basically, I’m trying to get the table to sit on half of the
   text area, sort of like an image, and not take up the whole space. Does that 
   make sense? Thanks
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/setting-column-width/#post-4123312)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Could you please post a link to the page with the table in question, so that 
   I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [skipperdoodle](https://wordpress.org/support/users/skipperdoodle/)
 * (@skipperdoodle)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/setting-column-width/#post-4123342)
 * Hey thanks for responding. the site isn’t live yet so I can’t post a link. The
   bottom line is, though, that tablepress appear to stretch the width of the text
   column, regardless of how wide that column is, right? In other words, if I wanted
   tablepresss to be, say, half the width of the text column in which it appears,
   there would be nothing I could do, correct?
 * Thanks again…
 *  [Haoxian](https://wordpress.org/support/users/lonelicloud/)
 * (@lonelicloud)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/setting-column-width/#post-4123357)
 * [@skipperdoodle](https://wordpress.org/support/users/skipperdoodle/),
 * If you want to set the table width to be half of your page( does your “half the
   width of the text column” means this?), you could follow the following instruction.
 * Add the following code to the Custom CSS field (that just needs to be added to
   the “Custom CSS” textarea in the “Plugin Options”):
 *     ```
       .tablepress-id-N {
       	width: 50%;
       }
       ```
   
 * Assuming that you know how to do with custom css. If not, please reply to notify
   me.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/setting-column-width/#post-4123382)
 * Hi,
 * TablePress will set a width, but it’s up to the browser to take that or not. 
   And in some tables, the content simply requires a larger width, e.g. if there
   are very long words in a column that can not be word-wrapped.
 * To find out if that is the problem for your site, I’ll need to see the page with
   the table. Can you maybe create test page where I can see this table?
 * Otherwise, if reducing the width of the table to half the page, please try lonelicloud’s
   code suggestion.
 * Regards,
    Tobias

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

The topic ‘setting column 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/setting-column-width/#post-4123382)
 * Status: resolved