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");
}
});
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025