Jump to content

Making the dropdown menu vertical


Recommended Posts

Right, I created my menu to be a drop-down, however it shows the elements of the menu horizontally. I want it to be one under another. I googled it and in one of the topics they said:

 

 

 

Find in the superfish-modified.css file:

 

.sf-menu li ul

 

And remove the: left: 0; from the CSS.

Also give it a width: 300px !important;

 

 

Now the dropdown appears under the menu-item.

 

And change the width of: .sf-menu > li > ul > li

to: 100%

 

 

In global.css I changed these options in the .dropdown-menu and .dropdown-menu > li > a  classes.

 

However, no result. Can you present me with some solutions? 

 

I am using Prestashop 1.6 - latest. 

Default Bootstrap Theme.

 

Thanks!

Link to comment
Share on other sites

Sorry, can't help you there. I don't' see anything back from the solution i repeat in the quote below, so maybe you have to look if you can find other lines that apply.

(you posted only part of the source)

Good luck!

 

 

Quote

 

Find in the superfish-modified.css file:

 

.sf-menu li ul

 

And remove the: left: 0; from the CSS.

Also give it a width: 300px !important;

 

 

Now the dropdown appears under the menu-item.

 

And change the width of: .sf-menu > li > ul > li

to: 100%

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