Dawn theme header - expand without clicking

Hello,

I have a “shop” in my menu and I want that submenu to expand without clicking on it. And I’d like to be able to click on “shop” and get to that category. This is my shop: https://corten-line.com/

And here is a site as an example: https://forwardfurniture.ca/

@cortenline

Steps

  • Shopify Admin > Online Store > Edit Code > Theme.liquid file find and paste below code before this tag

Hope this helps

1 Like

Hello,

I think in order to make that functionality you’ll need to add custom javascript that detects when someone hovers over the shop button and then add the open attribute to this particular menu item:


I don’t see a way to do that with css only, unless someone can correct me.

https://corten-line.com/ Now I can’t move to subcategories.

@cortenline

refer to this instructional video

thanks

Thank you, the code from the video doesn’t work, but I found a comment from a random person who wrote the correct code:

But I still can’t figure out how to make the first item in menu clickable.. I found this tutorial https://www.youtube.com/watch?v=QraXtajEGPs but it’s for old version of this theme. I can’t find the correct line in code file.

can i look into it? if yes i need access of store or need collaborator access code