Title: Is there a way to decrease column width
Last modified: January 23, 2022

---

# Is there a way to decrease column width

 *  Resolved [bobzee](https://wordpress.org/support/users/bobzee/)
 * (@bobzee)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/is-there-a-way-to-decrease-column-width/)
 * Good Afternoon
 * On the page you’ll see color swatches the first row was hard coded
    The 2nd row
   is using tablepress The icons are 25px in size Is there a way to remove the white
   space and narrow the column width
 * I’ve tried this and it’s not working
    .tablepress-id-color_chart .column-1, .
   tablepress-id-color_chart .column-2, .tablepress-id-color_chart .column-3, {
 *  width: 25px !important;
    padding: 1px !important; }
 * Suggestions?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fis-there-a-way-to-decrease-column-width%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/is-there-a-way-to-decrease-column-width/#post-15285991)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * From what I can see, these small icons are in a row that is marked as the “Header
   Row” of the table. This doesn’t really make sense here, semantically, and introduces
   some extra styling.
    Please uncheck the “Head row” checkbox on the table’s “Edit”
   screen. After that, the icons should be closer together. To then further tweak
   the spacing between them, please add this to the “Custom CSS” textarea on the“
   Plugin Options” screen of TablePress:
 *     ```
       .tablepress-id-33 td {
         padding: 2px;
       }
       ```
   
 * You should not have to set individual column widths then.
 * Regards,
    Tobias
 *  Thread Starter [bobzee](https://wordpress.org/support/users/bobzee/)
 * (@bobzee)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/is-there-a-way-to-decrease-column-width/#post-15286167)
 * Good Afternoon
 * Thank you for the suggestions
 * Added the padding tag and unchecked the header
    I made the changes, flushed the
   cache and the spacing is the same
 * Thoughts?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/is-there-a-way-to-decrease-column-width/#post-15290149)
 * Hi,
 * ok, one more try 🙂
 *     ```
       .tablepress-id-33 {
         width: auto !important;
       }
       .tablepress-id-33 td {
         padding: 2px !important;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [bobzee](https://wordpress.org/support/users/bobzee/)
 * (@bobzee)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/is-there-a-way-to-decrease-column-width/#post-15316934)
 * Awesome!
 * That worked…
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/is-there-a-way-to-decrease-column-width/#post-15317179)
 * 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 5 replies - 1 through 5 (of 5 total)

The topic ‘Is there a way to decrease 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/is-there-a-way-to-decrease-column-width/#post-15317179)
 * Status: resolved