Hello Moderator,
please tell me, where can I adjust the upper distance of the submenus?
My header has a height of 153 px. Currently the submenu also starts there. How can I set the submenu to start 100 pixels from the top?
It’s urgent.
Regards
Hey Anke,
Could you post a link to where we can see the element in question please?
Best regards,
Rikard
Hi Rikard,
yes, I will give you the link to the website in a private post (below). Please look at the menu item “Über uns”, there is a submenu.
Regards
Hi,
Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:
ul.sub-menu {
margin-top:-50px !important;
}
Best regards,
Rikard
Hi Rikard,
the code is only OK when you open the website, but if you scroll down, the mainmenu is hidden by the submenu.
Look at two screenshots of the menu:
Screenshot 1) When you open the site: OK
Screenshot 2) When scrolling the site: not OK
What can I do?
Regards
Anke
Hi Rikard,
can you please make me a new suggestion? Otherwise I won’t get ahead with my work.
It’s urgent.
Regards
Anke
Hi Anke,
Please try this instead:
ul.sub-menu {
margin-top:-50px;
}
.header-scrolled ul.sub-menu {
margin-top:0;
}
Best regards,
Rikard
Hi Rikard,
thanks, it works.
But for the burger menu you have to add the following code
#av-burger-menu-ul .sub-menu li:first-child a {
margin-top: 50px;
}
Regards
Anke
Hi Anke,
Glad to hear that.
Let us know if you still need further assistance.
Best regards,
Nikko