Shorten / truncate the terms in dropdowns

Forums › Forums › Search & Filter Pro › Shorten / truncate the terms in dropdowns

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #82441

    Is it possible to add a setting (or I’m happy to get my hands dirty with editing PHP) to shorten/truncate long taxonomy/category names in the dropdowns? Currently, the long names are causing layout issues for me as the dropdowns are getting too wide and forcing the Submit button onto a new line etc..

    Trevor
    #82545

    I think that you could use the Input Object Filter to change the displayed value by checking the length and truncating it with an ellipsis at the end?

    This is an example of how to use this filter.

Viewing 2 posts – 1 through 2 (of 2 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.