Title: CSS code has no affect on column widths
Last modified: August 20, 2024

---

# CSS code has no affect on column widths

 *  Resolved [rolynoworse](https://wordpress.org/support/users/rolynoworse/)
 * (@rolynoworse)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/css-code-has-no-affect-on-column-widths/)
 * Hi – I’ve been trying with no success to alter the column widths on a Tablepress
   table using the Custom Styling on the Plugin Options page. I suspect there is
   something else on the site which is stopping this happening but I’m not sure 
   where to start in tracking this down?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-code-has-no-affect-on-column-widths%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)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/css-code-has-no-affect-on-column-widths/#post-17964174)
 * Hi!
 * Thanks for your post and sorry for the trouble!
 * From what I can see, your table has several hundred empty columns on its right
   side, presumably from an import of an Excel file (where this can happen due to
   weirdnesses in how Excel stores the data).
 * As a first step, please delete all those empty columns, on the table’s “Edit”
   screen: First, click into the first empty column and then scroll to the right.
   While holding down the “Shift” key, click the last column. Then, right-click 
   again and click the “Delete -> Delete columns” entry in the context menu.
 * Regards,
   Tobias
 *  Thread Starter [rolynoworse](https://wordpress.org/support/users/rolynoworse/)
 * (@rolynoworse)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/css-code-has-no-affect-on-column-widths/#post-17964198)
 * Hi Tobias,
 * Many thanks – I think doing what you have indicated has gone a long way to sorting
   the problem. I’ll just play around now with column widths.
 * REgards
 * Roland
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/css-code-has-no-affect-on-column-widths/#post-17964222)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Looks much better now, indeed, and your CSS changes should now work much better!
 * Best wishes,
   Tobias
 * P.S.: In case you haven’t, please [rate TablePress in the plugin directory](https://wordpress.org/support/plugin/tablepress/reviews/#new-post).
   Thanks!

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

The topic ‘CSS code has no affect on column widths’ 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: [1 year, 9 months ago](https://wordpress.org/support/topic/css-code-has-no-affect-on-column-widths/#post-17964222)
 * Status: resolved