Tagged: menu width, mobile, mobile menu, width
Hi,
We are creating a website in which we are slightly customizing the menu and mobile menu. But the strange thing is that (view on mobile) the mobile menu is too wide and that makes the mobile menu scrollable horizontally.
Could someone check it out and see if we can fix this with CSS?
Hey bonsaimedia,
Add this to quick css:
.av-burger-overlay{
overflow-y: scroll;
overflow-x: hidden;
}
Best regards,
Jordan Shannon
Hi Jordan,
Thanks for your reply. It’s not working. COuld you please check again? I added it with !important but no result.
Hi,
Did you add my code to the very top of quick css so that it runs first? Also be sure to clear the cache a few times over so it runs first.
Best regards,
Jordan Shannon
Yes, i did but still no result.
Hi,
Try the following instead:
#top #av-burger-menu-ul{
max-width:200px!important;
}
.av-burger-overlay{
overflow-y: scroll!important;
overflow-x: hidden!important;
}
Best regards,
Jordan Shannon
Yes! Works great. Thanks!
Hi bonsaimedia,
Glad that Jordan helped you. :)
Let us know if you need further assistance or if we can close this thread.
Best regards,
Nikko