Shopify themes, liquid, logos, and UX
hello,
i'm experiencing this issue on dawn theme, if I open one submenu and then another, the first one doesn't close automatically, can please someone help me?
thank you
pw: subnormal
No answer yet huh?....I'm having the same issue 😔
If anyone is still searching for a solution, just add the next function in your global.js file, around line 26 (it should be inside an addEventListener function):
event.currentTarget
.closest("ul")
.querySelectorAll("details[open]")
.forEach((el) => {
if (el !== summary.parentElement) {
el.removeAttribute("open");
}
});
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025