My Drop down Menu is working on Desktop. But when i try to scroll the menu dropdown in mobile it doesnt work? Please Help me with the Issue ASAP.
Website:
Mobile dropdown scrolling in a Shopify store menu was not working, although the dropdown worked on desktop. The issue concerned the mobile navigation drawer for a submenu on the site.
Key suggestions provided:
base.css and add a mobile-only CSS rule targeting the child menu list.max-height: 60vh, enables overflow-y: auto, hides horizontal overflow, and adds -webkit-overflow-scrolling: touch for smoother mobile scrolling..menu-drawer { overflow: auto !important; }.Outcome:
Technical note:
My Drop down Menu is working on Desktop. But when i try to scroll the menu dropdown in mobile it doesnt work? Please Help me with the Issue ASAP.
Website:
Hi @thearchive
In your Shopify Admin go to online store > themes > actions > edit code
Find Asset > base.css and paste this at the bottow of the file:
@media screen and (max-width: 990px){
#Details-menu-drawer-shop-by-brand .menu-drawer__menu--childlist{
max-height:60vh;
overflow-y:auto;
overflow-x:hidden;
-webkit-overflow-scrolling:touch;
display:block;
}
}
I’d try simply this in “Custom CSS”, either in Header section or in Theme settings:
.menu-drawer {
overflow: auto !important;
}
oh my god. I cant thank you enough my man!!!. Hope you have an amazing life. im so thankful for u. Keep helping out man Love U
Hi @thearchive
You’re very welcome! I’m really glad it helped and that everything is working for you now. ![]()
Thanks a lot for the kind words — I truly appreciate it!
If you ever need help again with your Shopify store or anything else, feel free to reach out anytime.
Wishing you great success with your store and an amazing day ahead! ![]()
If helpful, please like all posts. ![]()
Best regards,
Devcoder ![]()