Jump to content

[SOLVED] get rid of scrolling in layered menu


gregultra

Recommended Posts

In the layered menu (where customers can choose colors, brands etc...), when the list of options come to a certain number, a scrolling appear.

I want to get rid of that, so that all colors are displayed and the customers don't have to scroll.

 

I suppose it's in the blocklayered.js, but i'm a scrub in JS :/ so any help is welcome.

 

 

Edited by gregultra (see edit history)
Link to comment
Share on other sites

you need to change css, not js.

Open \modules\blocklayered\blocklayered.css and modules\blocklayered\blocklayered-15.css

Search line #layered_form div div ul {  and remove next line: max-height: 200px;

That max-height makes scroll when there are certain options.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...