Title: change column/table width
Last modified: August 21, 2016

---

# change column/table width

 *  Resolved [idolzest](https://wordpress.org/support/users/idolzest/)
 * (@idolzest)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/)
 * Hi, please help me , I can not change the width of the table and column. [http://guitar-divan.ru/guitar-gear/qwer.html](http://guitar-divan.ru/guitar-gear/qwer.html)
   
   Don’t work: .tablepress-id-1 column-1 { width: 50px;} .tablepress-id-1 { width:
   800px !important;}
 * Thanks for a great plugin!
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869208)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * This code is not working because there’s a `.` missing before the `column-1`.
   However, even then, you will not see a change. The reason for that is that you
   can never change the width of the table to something below of what the content
   in the cells requires. There’s simply too much content in your table.
 * One idea to work around this is to make the table scrollable horizontally, for
   example by adding this to the “Custom CSS”:
 *     ```
       #tablepress-1_wrapper {
         overflow-x: scroll;
         overflow-y: hidden;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [idolzest](https://wordpress.org/support/users/idolzest/)
 * (@idolzest)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869216)
 * I thank you for your answer. I set “.” before the column-1 and removed two columns,
   table width was less, but the column width anyway not regulated.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869221)
 * Hi,
 * yes, that’s expected, as I tried to describe. You still have a lot of data in
   your table, so that the available space (given to the table by the theme) is 
   not enough for the entire table.
 * What exactly are you trying to do here, i.e. what look do you want to achieve?
 * Regards,
    Tobias
 *  Thread Starter [idolzest](https://wordpress.org/support/users/idolzest/)
 * (@idolzest)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869260)
 * I’m trying to understand why not all work the settings SSC. I have already removed
   the extra columns, but I can not change the width of one column and set the table
   in the center. Example, I want to make the first column with less 107px to 50px.
   And how you can change the font of the title? Thanks.
 *  [azarimy](https://wordpress.org/support/users/azarimy/)
 * (@azarimy)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869282)
 * Hi, sorry to borrow your thread, idolzest, but I wish to get some clarification
   on this matter.
 * So Tobias, what you’re saying is, even if we set the width to 10 for example,
   the actual width of the column will not shrink below the minimum width of the
   content? So if I set it as 10, and I have a word 15pixels long, the width will
   be set at 15, correct?
 *  Thread Starter [idolzest](https://wordpress.org/support/users/idolzest/)
 * (@idolzest)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869284)
 * Thanks for your help. Try to explain more: I would like to get a table of 14 
   columns with sorting fields as here [http://guitar-divan.ru/guitar-gear/malenkie-giganty-bolshogo-zvuka-2.html](http://guitar-divan.ru/guitar-gear/malenkie-giganty-bolshogo-zvuka-2.html).
   But I can not figure out how to reduce the font and column width for my size.
   Is it possible to realize my problem with your plugin?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869286)
 * **[@azarimy](https://wordpress.org/support/users/azarimy/)**: It is considered
   impolite to interrupt another poster’s ongoing thread unless you are posting 
   a solution or suggestion. As per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic.
 *  Thread Starter [idolzest](https://wordpress.org/support/users/idolzest/)
 * (@idolzest)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869288)
 * I am sorry, but everything remains in the subject change column/table width…
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869306)
 * Hi,
 * [@azarimy](https://wordpress.org/support/users/azarimy/): Yes, that is correct.
   The table content dictates the minimal sizes for the columns (the text has to
   go somewhere after all). (Now, there is a way to change that behavior with CSS,
   using the `table-layout` CSS property, but I don’t recommend that.)
 * [@idolzest](https://wordpress.org/support/users/idolzest/): You are on the right
   track already. Instead of trying to mess with column widths (which will not help
   here), you can reduce the font size and padding in the cells, e.g. with this:
 *     ```
       .tablepress-id-1 thead th,
       .tablepress-id-1 tbody td {
         font-family: Tahoma;
         font-size: 10px;
         padding: 4px;
       }
       ```
   
 * After that, there should be more room for more data.
 * Regards,
    Tobias
 *  Thread Starter [idolzest](https://wordpress.org/support/users/idolzest/)
 * (@idolzest)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869357)
 * Thank you very much for your help!
    Everything turned out the way I wanted. Regards,
   Dmitriy.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869370)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

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

 * 11 replies
 * 4 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/change-columntable-width/#post-4869370)
 * Status: resolved