- This topic has 1 reply, 2 voices, and was last updated 5 years, 8 months ago by .
Viewing 2 posts – 1 through 2 (of 2 total)
Viewing 2 posts – 1 through 2 (of 2 total)
Posted
by
Forums › Forums › Search & Filter Pro › Sidebar Filter Attributes Collapse
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
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.