Title: Column Width Code Not Working
Last modified: March 29, 2023

---

# Column Width Code Not Working

 *  Resolved [ABk1](https://wordpress.org/support/users/abk1/)
 * (@abk1)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/column-width-code-not-working/)
 * Warm greetings,
 * Was hoping to see if anyone might be able help with an issue with column width.
   I have a page which displays book and file downloads. Unfortunately, the column
   width for the description text is quite narrow. This results in each row being
   quite long. The page is here…
 * [https://dhammavinayapatipada.com/writings/](https://dhammavinayapatipada.com/writings/)
 * Have tried the following code to fix the issue…
 * .tablepress-id-2 .column-3 { width: 800px;}
 * Have checked the box to load custom CSS. Unfortunately, there hasn’t been any
   effect.
 * I use Tablepress for another page on my site. The description column on that 
   page loads much wider. It is given here…
 * [https://dhammavinayapatipada.com/forest-carika-tudong-routes/](https://dhammavinayapatipada.com/forest-carika-tudong-routes/)
 * Wondered if anyone might have any ideas on how to fix the issue? Also wondered
   if anyone might know why there’s a difference on the default column width for
   these two pages.
 * With best wishes,
 * ~Bhante Joe
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcolumn-width-code-not-working%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)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/column-width-code-not-working/#post-16607281)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The reason for this essentially is that your table already is too wide for the
   screen and requires scrolling. The browser does then not really want to make 
   the column even wider. To force it to, you’ll also need to set a minimum width.
   For that, please try again with
 *     ```wp-block-code
       .tablepress-id-2 .column-3 {
         width: 800px;
         min-width: 800px;
       }
       ```
   
 * On the other page, this is not necessary because the column there contains very
   long link URLs, which are treated as one very long word by the browser. These
   then make that column very wide already.
 * Regards,
   Tobias
 *  Thread Starter [ABk1](https://wordpress.org/support/users/abk1/)
 * (@abk1)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/column-width-code-not-working/#post-16608628)
 * Thank you for this quick reply. This solution worked very well. Much appreciated.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/column-width-code-not-working/#post-16609724)
 * 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 [here](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   in the plugin directory. Thanks!

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

The topic ‘Column Width Code 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/)

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