Solved

Unable to find JS for toggling header menu drawer in dawn theme

RedhoneyGroup
Shopify Partner
3 0 0

Hi Sorry about this, It should be obvious but I am unable to find the JS code which toggles the  menu drawer. Would really appreciate it if someone can point to the right file. I have checked header-drawer.liquid & header.liquid.

 

Thanks

Accepted Solution (1)

tim
Shopify Expert
3469 280 1286

This is an accepted solution.

This function opens menu drawer: https://github.com/Shopify/dawn/blob/d627f2160527792efffadc83c749080507772767/assets/global.js#L500-... 

And the next function closes it.

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 2 (2)

tim
Shopify Expert
3469 280 1286

This is an accepted solution.

This function opens menu drawer: https://github.com/Shopify/dawn/blob/d627f2160527792efffadc83c749080507772767/assets/global.js#L500-... 

And the next function closes it.

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
RedhoneyGroup
Shopify Partner
3 0 0

Thanks