Title: Column width css not working
Last modified: July 5, 2019

---

# Column width css not working

 *  Resolved [Pierre Lemarchand](https://wordpress.org/support/users/raivavae/)
 * (@raivavae)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-width-css-not-working-2/)
 * Hello,
    I have added in the css options .tablepress .column-1 { width: 400px !
   important; } but it has no effect Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcolumn-width-css-not-working-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-width-css-not-working-2/#post-11703219)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * The reason for this is that your table is already wide than the screen width,
   and the browser is therefore not honoring this command – it simply does not want
   to make the table even bigger.
 * You could however try this “Custom CSS” instead of what you are using now:
 *     ```
       .tablepress-id-1 {
         table-layout: fixed;
       }
       .tablepress-id-1 .column-2 {
         width: 400px !important;
       }
       ```
   
 * In addition, please also uncheck the “Use DataTables” checkbox on the table’s“
   Edit” screen to get rid of a JavaScript error.
 * Regards,
    Tobias
 *  Thread Starter [Pierre Lemarchand](https://wordpress.org/support/users/raivavae/)
 * (@raivavae)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-width-css-not-working-2/#post-11704670)
 * Thank you Tobias, for your fast and efficient help!
    Pierre
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/column-width-css-not-working-2/#post-11704921)
 * 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/plugin/tablepress/reviews/)
   here in the plugin directory. Thanks!

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

The topic ‘Column width css not working’ 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

 * [column width](https://wordpress.org/support/topic-tag/column-width/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/column-width-css-not-working-2/#post-11704921)
 * Status: resolved