Jump to content

Show subcategories vertically on Top Horizontal menu


Ueb

Recommended Posts

Hi there,

subcategories are listed horizontally ordered by default, how could I list them vertically ?

 

A solution posted on forum suggest to add these lines to themes/default-bootstrap/css/modules/blocktopmenu/css/blocktopmenu.css

#block_top_menu .sf-menu > li > ul {
  width: auto;
  left: initial;
}

#block_top_menu .sf-menu > li > ul > li {
  float: none;
  width: auto;
}

but when subcategories are many it's not good, they should be splitted in columns.

Link to comment
Share on other sites

  • 4 years later...

Yes, you are right. But how to split them into columns so that there are f.ex. 4 subcat. one under the other but starting from th 5.th, 10th. etc. there will be a new column.

And next question: What do to to get all sub/subcat. not displayed automatically but only on  mouseover to parent ?

Thanks !

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...