Title: How to control column width ??
Last modified: January 13, 2019

---

# How to control column width ??

 *  Resolved [Civil Engineering Notes](https://wordpress.org/support/users/civilenggnotes/)
 * (@civilenggnotes)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/how-to-control-column-width/)
 * Hello, recently i installed tablepress and created some tables using this plugin.
   Although the total width of the table is currently fine now, but i am not satisfied
   with the column width. There not direct control to adjust the column or table
   width. Even I tried to control the column and table width with css as in the 
   documentation. But it did not work for me. May be i did something wrong. Please
   give me the correct css and where to implement them?? Thank you..
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhow-to-control-column-width%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/how-to-control-column-width/#post-11084436)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The CSS that you are using is being applied and it’s working (I would however
   recommend to not use the overall `.tablepress` selector, but a more precise `.
   tablepress-id-123` selector so that this only applies to the desired tables).
   
   The reason why you might not be seeing the working CSS code in action could be
   caching. Can you therefore maybe try clearing the cache of the plugin that you
   are using for CSS minification and concatenation, or maybe visiting the site 
   in an “incognito” browsing session?
 * Regards,
    Tobias
 *  Thread Starter [Civil Engineering Notes](https://wordpress.org/support/users/civilenggnotes/)
 * (@civilenggnotes)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/how-to-control-column-width/#post-11094184)
 * hello [@tobiasbg](https://wordpress.org/support/users/tobiasbg/),
    I tried to
   use the more precise selector as you said, but it did not work. Please check 
   the issue.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/how-to-control-column-width/#post-11094418)
 * Hi,
 * then I’m maybe not understanding what the problem is. Can you maybe try explaining
   it again, maybe with a screenshot?
 * Regards,
    Tobias
 *  Thread Starter [Civil Engineering Notes](https://wordpress.org/support/users/civilenggnotes/)
 * (@civilenggnotes)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/how-to-control-column-width/#post-11098779)
 * Suppose i am creating a table with 3 column using 3 headers, namely 1. Sl No,
   2. Name of the Test, and 3. IS Code. Obviously i need more width for the middle
   column than the other two, as it will have more content text, assume width of
   the first column is 25% of the total table width, and the same for the next tow
   column are 50% & 25% respectively. What should i do for that??
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/how-to-control-column-width/#post-11099265)
 * Hi,
 * but this is exactly how the table looks for me already (the second column has
   the largest width).
    The best code to achieve it would be
 *     ```
       .tablepress-id-1 .column-1,
       .tablepress-id-1 .column-3 {
         width: 25%;
       }
       .tablepress-id-1 .column-2 {
         width: 50%;
       }
       ```
   
 * Regards,
    Tobias

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

The topic ‘How to control 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/)

## Tags

 * [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: [7 years, 3 months ago](https://wordpress.org/support/topic/how-to-control-column-width/#post-11099265)
 * Status: resolved