Hey guys, when I open the header on mobile and start “scrolling,” it scrolls all the way across the store.
How can I fix this? I want the header to be fixed in place and not scroll, without any bugs.
Here’s my store URL: https://1049xn-ya.myshopify.com/
I only need this for mobile
Thank you,
Tim
Hi @CreatorTim
To complete your requests, please follow these steps:
- Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
- Paste the code provided into the Custom CSS section.
@media screen and (max-width: 768px){
body:has(details#Details-menu-drawer-container.menu-drawer-container.menu-opening) {
overflow: hidden !important;
}
}
I hope this helps
Best,
Daisy
Here is the result:
Hey, it’s not working, it’s still scrolling under it. I think the scrolling line needs to be removed.