All things Shopify and commerce
Hi All,
I am unable to close the header menu in the mobile site or minimized browser setting. Clicking on X would do nothing. Thanks in advance.
URL: irsyaofficial.com
Solved! Go to the solution
This is an accepted solution.
The issue was due to a custom code for collapsible content in Global.js file. Removed it and this got fixed.
@aaskretail hope you are doing well.
did you add any app or additional js in your theme? or have you made any changes the theme js?
Hello,
No, I did not add any additional app or js. I have added a few styles to theme.liquid and earlier had added a script in header.liquid file to open the dropdown menu on hover but removed that because it was behaving the same way.
@aaskretail , it looks like some JS conflicts with your menu js. Once it opens then it'll not toggle back to close property. if we click again on close icon it'll add the class-related open instead of adding a close class.
Yes, do you know any way to fix this by adding a line of script to the file ?
@aaskretail for that first, need to identify the theme js file and then can able to find the solution for that.
Hi,
Can you help me identify the which .js file is being used ? I am on Dawn Theme
Store URL: irsyaofficial.com
password: intusk
it is focusing on the "open" in below code in the website when clicking on cross button. It should toggle to close.
This is an accepted solution.
The issue was due to a custom code for collapsible content in Global.js file. Removed it and this got fixed.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025