Title: column width problem
Last modified: September 1, 2016

---

# column width problem

 *  Resolved [germainmalenfant](https://wordpress.org/support/users/germainmalenfant/)
 * (@germainmalenfant)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/column-width-problem-4/)
 * Hi, my table is wide and I installed DataTables FixedColumns plugin to allow 
   scrolling.
 * my problem is that columns are very narrow:
 * [https://www.searchevolution.com/gps/gps-nuvi.html](https://www.searchevolution.com/gps/gps-nuvi.html)
 * I tried fixing with specifying width in tag:
 * [table id=11 column_widths=”100px” datatables_fixedcolumns=”left” /]
 * but this doesn’t change anything.
 * I tried with
 *  .tablepress-id-11 .column-1,
    .tablepress-id-11 .column-2, .tablepress-id-11.
   column-3, .tablepress-id-11 .column-4 { width: 300px; }
 * didn’t work.
 * disabled caching too…
 * So, I ask help.
 * thanks in advance, Germain
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Thread Starter [germainmalenfant](https://wordpress.org/support/users/germainmalenfant/)
 * (@germainmalenfant)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/column-width-problem-4/#post-7585212)
 * I fixed it myself with this custom css
 * .tablepress-id-11 {
    table-layout: fixed; }
 * .tablepress-id-11 th {
    white-space: nowrap; }
 * .tablepress-id-11 .column-1,
    .tablepress-id-11 .column-2, .tablepress-id-11 .
   column-3, .tablepress-id-11 .column-4, .tablepress-id-11 .column-5, .tablepress-
   id-11 .column-6, .tablepress-id-11 .column-7, .tablepress-id-11 .column-8, .tablepress-
   id-11 .column-9, .tablepress-id-11 .column-10, .tablepress-id-11 .column-11, .
   tablepress-id-11 .column-12, .tablepress-id-11 .column-13, .tablepress-id-11 .
   column-14, .tablepress-id-11 .column-15, .tablepress-id-11 .column-16, .tablepress-
   id-11 .column-17, .tablepress-id-11 .column-18, { width: 300px !important; }
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/column-width-problem-4/#post-7585296)
 * Hi,
 * nice find! Yes, this should work fine.
 * Regards,
    Tobias
 *  [lcappiello](https://wordpress.org/support/users/lcappiello/)
 * (@lcappiello)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/column-width-problem-4/#post-7585430)
 * I tried the above but it does not seem to be changing my column widths. my website
   [http://theperfectcut2.net/services/salon_services/](http://theperfectcut2.net/services/salon_services/)
   
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I tried also the below and it did not change anything.
   I need to have column 2 closer to column 1 so you can see the prices for each
   service better.
 * .tablepress-id-1 .column-1 {
    width: 50px; !important; }
 * .tablepress-id-1 .column-2 {
    width: 100px; !important; }
 * Any thoughts??
    Thank you Lisa
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/column-width-problem-4/#post-7585431)
 * Hi Lisa,
 * please try adding it like this:
 *     ```
       .tablepress-id-1 {
         width: auto;
       }
   
       .tablepress-id-1 .column-1 {
         width: 50px !important;
       }
   
       .tablepress-id-1 .column-2 {
         width: 100px !important;
       }
       ```
   
 * (Note that you had extra semicolons `;` in your code, which I removed.)
 * Regards,
    Tobias
 *  [lcappiello](https://wordpress.org/support/users/lcappiello/)
 * (@lcappiello)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/column-width-problem-4/#post-7585444)
 * perfect thank you!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/column-width-problem-4/#post-7585445)
 * 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!
 *  [narendralath](https://wordpress.org/support/users/narendralath/)
 * (@narendralath)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/column-width-problem-4/#post-8984339)
 * Hi!
 * I’ve got a table with 7 columns. Each row in the last column has a button that
   redirects to another page.
 * The first column is taking up most of the space on the page while the rest of
   the coulmns are stuffed towards the end.
 * I have used no extra CSS or HTML within the table cells or in the “Plugin Options”
 * Any help in the right direction would be great!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/column-width-problem-4/#post-8984582)
 * Hi narendralath,
 * Can you please post a link to the page with the table where this problem happens,
   so that I can take a direct look? Thanks!
 * Regards,
    Tobias

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

The topic ‘column width problem’ 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

 * [colums](https://wordpress.org/support/topic-tag/colums/)
 * [narrow](https://wordpress.org/support/topic-tag/narrow/)

 * 8 replies
 * 4 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/column-width-problem-4/#post-8984582)
 * Status: resolved