Dawn Theme - drop down menu don't have scroll only on desktop

Topic summary

A user is experiencing an issue where dropdown menus on their Shopify Dawn theme website lack scrolling functionality on desktop, specifically when clicking on the “motorcycles” menu item.

Problem Details:

  • The dropdown menu displays all items without a scrollbar, making navigation difficult
  • Issue only occurs on desktop; mobile appears unaffected
  • User shared store URL (caneprint.com) with password access for troubleshooting

Solution Provided:
A helper suggested adding CSS code to the base.css file:

.header__submenu {
  max-height: 60vh;
  overflow: auto;
}

Resolution:
The solution worked after removing the body .js details> selector prefix. The simplified CSS successfully added scrolling to the dropdown menu, allowing users to navigate through longer menu lists on desktop.

Summarized with AI on November 20. AI used: claude-sonnet-4-5-20250929.

Hello.

My web don’t have scroll on desktop (drop down menu)

2 hours I’m playing with CSS or media code in theme, base files..

It’s doesn’t works.. How I can change this overflow?

Thanks

Could you please share your store URL? so, I can check and guide you to solve the issue.

Yes,sure.

https://caneprint.com/

password 12345

Thanks

The website is scrolling well when the dropdown menu is open on the desktop. What issue you are facing?

It’s working fine on my end.

try to click on “motorcycles”

I don’t have scroll on desktop for drop down menu

This code I use before on my custom theme .

{
display: inline-block;
max-height: 40px;
max-width: 110px;
overflow: hidden;
}

but on DOWN I need something other

So, do you want a scroll bar in the menu dropdown? correct me if I am wrong.

and still, If I don’t get you let’s connect and discuss

Would you like to display like this?

1 Like

Yes, your right.

I want like this:

YES!!!:slight_smile:

Add the below line of CSS code at the end of your base.css file.

body .js details>.header__submenu{
max-height:60vh;
overflow: auto;
}

let me know if you have any issue with this.

1 Like

It’s not working

But I use this one, CSS without body, and it’s working!!! Thank you!

.header__submenu {
max-height: 60vh;
overflow: auto;
}

2 Likes