Title: Custom Width When MULTIPLE Tables
Last modified: October 27, 2016

---

# Custom Width When MULTIPLE Tables

 *  Resolved [tickett0](https://wordpress.org/support/users/tickett0/)
 * (@tickett0)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/custom-width-when-multiple-tables/)
 * Hello,
 * I’ve applied your Tips & Tricks for custom column widths: [https://wpsoul.com/responsive-comparison-table-wordpress/](https://wpsoul.com/responsive-comparison-table-wordpress/).
   However, this isn’t table-specific. For example, my current settings work perfectly
   for table #1. But awful for table #2. I don’t see any ID# within the code to 
   apply different widths to different tables. Could you please advise?
 * Thanks!

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

 *  Thread Starter [tickett0](https://wordpress.org/support/users/tickett0/)
 * (@tickett0)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/custom-width-when-multiple-tables/#post-8362906)
 * Current code inputted into Custom CSS:
 * .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}
 * ^^ Good for first table. Not for second…
    -  This reply was modified 9 years, 6 months ago by [tickett0](https://wordpress.org/support/users/tickett0/).
 *  Thread Starter [tickett0](https://wordpress.org/support/users/tickett0/)
 * (@tickett0)
 * [9 years ago](https://wordpress.org/support/topic/custom-width-when-multiple-tables/#post-9023611)
 * FIXED:
 * Update using table IDs (from short code) and custom CSS. Example below:
 * #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-3 td:first-child{width:25% !important}
    #wpsm-table-3 td:nth-child(
   2){width:25% !important} #wpsm-table-3 td:nth-child(3){width:25% !important} #
   wpsm-table-3 td:nth-child(4){width:25% !important}

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

The topic ‘Custom Width When MULTIPLE Tables’ 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/)

 * 2 replies
 * 1 participant
 * Last reply from: [tickett0](https://wordpress.org/support/users/tickett0/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/custom-width-when-multiple-tables/#post-8362906)
 * Status: resolved