Title: Limiting column Filter Dropdown widths
Last modified: November 13, 2019

---

# Limiting column Filter Dropdown widths

 *  Resolved [claing](https://wordpress.org/support/users/claing/)
 * (@claing)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/)
 * Hello,
 * Does anyone know how I might be able to limit the width of column filter dropdowns?
   Due to a lot of table data for a particular column, I’ve got a dropdown menu 
   that is running 3X the width of my page.
 * See screenshot:
 * [Example Screenshot](https://www.dropbox.com/s/vr1zhhcyh3f9rn8/Screen%20Shot%202019-11-13%20at%209.22.32%20AM.png?dl=0)
 * Thanks,
    Christopher

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/#post-12128856)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Can you please post a link to the page with the table where this problem happens,
   so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [claing](https://wordpress.org/support/users/claing/)
 * (@claing)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/#post-12128991)
 * Hi Tobias,
 * Good to hear from you again.
 * This is a test site for the table in question: [https://summitpump.com/table-press-test-area/](https://summitpump.com/table-press-test-area/)
 * On a related concern, I would like to extend the width of the overall table –(
   not as wide as the Model filter dropdown) if you have any pointers on this as
   well. I’m stuck.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/#post-12129281)
 * Hi,
 * thanks for the link. Please add this to the “Custom CSS” textarea on the “Plugin
   Options” screen of TablePress:
 *     ```
       .column-filter-widget select {
         width: 250px;
       }
       ```
   
 * For the table width: Your table is actually too wide for the screen. You might
   want to look for a solution for responsiveness, e.g. via [https://tablepress.org/extensions/responsive-tables/](https://tablepress.org/extensions/responsive-tables/)
 * Giving it more space (on the left side) would require changing your theme’s CSS
   code, but I don’t know the best way for that, sorry.
 * Regards,
    Tobias
 *  Thread Starter [claing](https://wordpress.org/support/users/claing/)
 * (@claing)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/#post-12129385)
 * Tobias,
 * Thank you so very much! Both suggestions did the trick! (Custom CSS and the responsive-
   tables extension).
 * If I want to apply the widget width CSS to just this one table (current example
   applies to all tables on my site) what would that code look like?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/#post-12129420)
 * Hi,
 * good to hear that this helps! To only apply this to one table, please use
 *     ```
       #tablepress-InvtStnd_wrapper .column-filter-widget select {
         width: 250px;
       }
       ```
   
 * Note how the table ID is part of the CSS selector.
 * Regards,
    Tobias
 *  Thread Starter [claing](https://wordpress.org/support/users/claing/)
 * (@claing)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/#post-12132743)
 * Perfect, that does the trick! Thanks again
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/#post-12133202)
 * 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](https://wordpress.org/support/plugin/tablepress/reviews/)
   here in the plugin directory. Thanks!

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

The topic ‘Limiting column Filter Dropdown 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/limiting-column-filter-dropdown-widths/#post-12133202)
 * Status: resolved