Title: Fixed Column Width (?)
Last modified: April 9, 2018

---

# Fixed Column Width (?)

 *  Resolved [IMTanuki](https://wordpress.org/support/users/imtanuki/)
 * (@imtanuki)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/fixed-column-width-4/)
 * Hi Tobias,
 * Is there any CSS to force a fixed column width?
 * I have a number of tables where the first _n_ columns are logically fixed width(
   e.g. codes) and I’d like to set those columns to a fixed width to trigger the
   Responsive Ext (Collapse mode).
 * Thanks!

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/fixed-column-width-4/#post-10164233)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * You could try setting column widths with CSS code, see [https://tablepress.org/faq/column-widths/](https://tablepress.org/faq/column-widths/)
   
   Note that the browser will not always apply them, however, due to the various
   influences and constraints on the column width.
 * Regards,
    Tobias
 *  Thread Starter [IMTanuki](https://wordpress.org/support/users/imtanuki/)
 * (@imtanuki)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/fixed-column-width-4/#post-10165644)
 * Tobias
 * Thanks! This looks like it would be very useful with responsive collapse mode–
   by setting the first (second) columns to a fixed width, that would force a consistent“
   break”, such that you could force which columns are hidden / displayed in collapsed/
   uncollapsed mode.
 * The problem with % is that it’s relative to all columns – as you add more columns,
   the px width becomes smaller and that will affect which columns appear in the
   initial uncollapsed list.
 * I’ll give this a try.
 * –> You may want to add this to your extension doc, so that users know how to 
   use fixed width to force which columns appear in the initial list.
    -  This reply was modified 7 years, 12 months ago by [IMTanuki](https://wordpress.org/support/users/imtanuki/).
    -  This reply was modified 7 years, 12 months ago by [IMTanuki](https://wordpress.org/support/users/imtanuki/).
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/fixed-column-width-4/#post-10165827)
 * Hi,
 * yes, that’s the drawback of `%` widths… I hope you can find a solution!
    Note
   that you might have to use the `!important` flag in the CSS.
 * Best wishes,
    Tobias

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

The topic ‘Fixed Column Width (?)’ 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: [7 years, 12 months ago](https://wordpress.org/support/topic/fixed-column-width-4/#post-10165827)
 * Status: resolved