Hello!
I have the next issue: When I have a submenu in my mobile Burger menu, the first item in the submenu has a weird spacing. So when I use a mouse over the first item of the submenu disappear.
How can I add more space above he first submenu item? See my screenshot for the problem.
Witout mouse over: https://www.dropbox.com/s/jr5zy4o8sjzrst7/IMG_1648.jpg?dl=0
With mouse over: https://www.dropbox.com/s/022ni6alvmsujhi/IMG_1649.PNG?dl=0
Hey GrafitecSon,
Thanks for the screenshots, could you post a link to where we can see the elements in question as well please?
Best regards,
Rikard
Hi Rikard,
Yes, that is the following url: https://www.stakenburgfonds.nl/nieuw
Hi,
Thanks for that, this CSS is causing that to happen:
.av-main-nav-wrap ul.sub-menu {
margin-top: -30px;
}
Did you add that? If so then please try to wrap it in a media query instead. I can’t see exactly where it’s coming from since you have file compression active.
Best regards,
Rikard
Hello Rikard,
Yes, I ad that snippet to edit my submenu position on desktop. How can I use a media query for a good view on mobile?
Hi GrafitecSon,
You can wrap the code above with this:
@media only screen and (min-width: 1024px) {
/* Add your Desktop Styles here */
}
Best regards,
Victoria