Sidebar Filter Attributes Collapse

Forums › Forums › Search & Filter Pro › Sidebar Filter Attributes Collapse

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

    Hello,

    I’ve got a product attribute type with more then 30 taxonomies.
    Is it possible to add a “show more” button and only show for example 10 first taxonomies only, so that following filters like price and brands are easier to see for the user without scrolling to long?

    thanks in advance
    greetings

    Trevor
    #273772

    That is not possible form within our plugin settings, sorry. What type of field is it, as you could, if it were for example, a checkbox field, give the field a scrollbar? As is used on our demo site for Genres:

    https://demo.searchandfilter.com/movies/

    The CSS added to do this was:

    .searchandfilter li[data-sf-field-input-type="checkbox"] ul {
        max-height: 180px;
        overflow: auto;
    }

    You might be able to achieve what you describe using JavaScript, but this is not something I can help you code, nor am I aware of any code snippets in the forum to do this, sorry.

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.