Add vertical padding to menu, but excluding secundary menu
Editing the option “item menu padding” to a high number give me the result that i want (Increasing Height), but the problem is, we have a lot of secundary menus and they are too big…. we would like to have around 40 or 50px high for the principal menu but exclude the secundary ones, like this:
I tried a lot of pieces of code from here and there and nothing seems to work, so how can i make this done?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
5Hi Nova
Once we’ve taken a look at your site we’ll be able to resolve both threads. Thanks :)
Got it, already answered; greetings!
Super :) Glad to hear you’re making progress.
All the best.
This is a private message.
Sure. You can set the main menu padding from Appearance > Customize > Theme Design > Menu > Menu Item Padding.
You can then set another padding value for your drop down menus using the following at Appearance > Custom CSS:
/* Drop down menu item padding, top and bottom */ .main-navigation ul ul a { padding-top: 20px; padding-bottom: 20px; }Hope that helps.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.