Tagged: Sub Menu Padding
Hello:
I have tried adding code to decrease the space (padding) between the main menu and sub-menu. Didn’t work.
.sub-menu li{
padding:5px 0!important;
}
.sub-menu li a{
line-height:5px!important;
}
I also went into Advanced Styling > Main Menu > Sub links > Buttons and changed to 5 px. It ddn’t change it.
Cleared Cache and also performed a dynamic cache.
Are you able to take a look and assist? Sub-Menu items are under “I.T. Services” and also “Clients” on main menu.
Thank you –
Debra
Hey dlambers,
Thank you for the inquiry.
You can try this css code instead.
.av-main-nav > li > ul {
margin-top: -30px;
}
Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings, and purge the cache after adding the css modification.
Best regards,
Ismael
Hello,
Worked GREAT!
Thank you,
Debra
Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi Rikard,
Yes, you may close the ticket – thanks again. I appreciate the timeliness!
Have a great day!
Debra