Title: width column
Last modified: August 30, 2016

---

# width column

 *  Resolved [Justine13](https://wordpress.org/support/users/justine13/)
 * (@justine13)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/width-column/)
 * Hello,
 * I just installed this plugin on my site. The tables serve me to display prices
   and dates. The width of my columns are very small and the figures put themselves
   under each other. How can I do for column widths automatically adapts to the 
   content?
 * Thank you for your help
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/width-column/#post-6255205)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * 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
 *  Thread Starter [Justine13](https://wordpress.org/support/users/justine13/)
 * (@justine13)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/width-column/#post-6255206)
 * No problem : [http://alpine-residences.fr/room/k2-14/](http://alpine-residences.fr/room/k2-14/)
 * Thank you
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/width-column/#post-6255216)
 * Hi,
 * thanks for the link!
 * The only real chance that I see here (if you want to keep the dates and prices
   in a row and not a column), would be to prevent line breaks in the cells, e.g.
   with this “Custom CSS” on the “Plugin Options” screen of TablePress:
 *     ```
       .tablepress-id-10 th,
       .tablepress-id-10 td {
         white-space: nowrap;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [Justine13](https://wordpress.org/support/users/justine13/)
 * (@justine13)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/width-column/#post-6255218)
 * This is perfect thank you very much, that I should just separates cells by border
   to make it clearer … Do you know where I can change / add the code? and what 
   code?
 * thank you a lot
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/width-column/#post-6255220)
 * Hi,
 * to add a border, you could e.g. extend the code to
 *     ```
       .tablepress-id-10 th,
       .tablepress-id-10 td {
         white-space: nowrap;
         border-left: 1px solid #b6d889;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [Justine13](https://wordpress.org/support/users/justine13/)
 * (@justine13)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/width-column/#post-6255224)
 * Thank you very much for your help and quick response, the support is great!
 * I will focus the text of my cells and it will be perfect 😉
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/width-column/#post-6255231)
 * 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](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

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

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