Title: Fixed Column Width
Last modified: September 11, 2016

---

# Fixed Column Width

 *  [haggart](https://wordpress.org/support/users/haggart/)
 * (@haggart)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fixed-column-width-2/)
 * I am wondering how to keep columns fixed. I have a two column one row table that
   I am using to enter a head shot and some biographical information. For some reason
   one column is wider than the other. How can I keep the columns equal width?
    -  This topic was modified 9 years, 8 months ago by [haggart](https://wordpress.org/support/users/haggart/).

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

 *  [tickett0](https://wordpress.org/support/users/tickett0/)
 * (@tickett0)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fixed-column-width-2/#post-8366389)
 * You can add the following to Custom CSS, setting your own defaults:
 * .wpsm-comptable td:first-child{width:30% !important}
    .wpsm-comptable td:nth-
   child(2){width:15% !important} .wpsm-comptable td:nth-child(3){width:15% !important}.
   wpsm-comptable td:nth-child(4){width:40% !important}
 * I’ve found this overrides ALL tables though. I currently have a ticket open on
   how to make them table-specific (no response yet…).
 * Hope this helps!
 *  [lifetreemkt](https://wordpress.org/support/users/lifetreemkt/)
 * (@lifetreemkt)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/fixed-column-width-2/#post-8525283)
 * I’ve tried the folloqing code and it worked fine.
 * .wpsm-comptable th, .wpsm-comptable td {
    max-width: 90px!important; }
 *  [tickett0](https://wordpress.org/support/users/tickett0/)
 * (@tickett0)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/fixed-column-width-2/#post-8533834)
 * Great! Glad you have it working.
 * Also, figured out a way to assign custom widths to MULTIPLE tables through IDs.
   Example below:
 * #wpsm-table-1 td:first-child{width:30% !important}
    #wpsm-table-1 td:nth-child(
   2){width:15% !important} #wpsm-table-1 td:nth-child(3){width:15% !important} #
   wpsm-table-1 td:nth-child(4){width:40% !important}
 * #wpsm-table-2 td:first-child{width:25% !important}
    #wpsm-table-2 td:nth-child(
   2){width:25% !important} #wpsm-table-2 td:nth-child(3){width:50% !important}
 * #wpsm-table-2 td:first-child img{padding:0px}
 *  [tickett0](https://wordpress.org/support/users/tickett0/)
 * (@tickett0)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fixed-column-width-2/#post-9023617)
 * [@lifetreemkt](https://wordpress.org/support/users/lifetreemkt/) please mark 
   ticket as “resolved” if no further questions. 🙂

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

The topic ‘Fixed Column Width’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/table-maker_30bfab.svg)
 * [Table Maker](https://wordpress.org/plugins/table-maker/)
 * [Support Threads](https://wordpress.org/support/plugin/table-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/table-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/table-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/table-maker/reviews/)

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [tickett0](https://wordpress.org/support/users/tickett0/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/fixed-column-width-2/#post-8533834)
 * Status: not resolved