A Shopify store owner wants to selectively disable “wide menu promotions” dropdown menus on their site. They like the feature on the homepage but find it distracting on product and other pages.
Issue with solution:
The code successfully hides wide menu promotions on all non-homepage pages, but the original poster clarified they want it visible only on the homepage and hidden everywhere else—which appears to be what the code does. The discussion remains open as the poster may be seeking confirmation or has a misunderstanding about the solution’s functionality.
Summarized with AI on October 27.
AI used: claude-sonnet-4-5-20250929.
I am having trouble with the “wide menu promotions” dropdown menus. I love the look on our main home page, but it can be distracting and get in the way on our item pages and on our various other pages. I wonder if it is possible to have that function only work on our main home page? I’ve tried a few plug-and-play code snippets from google and from the shopify help bot, but haven’t found success.
Thanks so much for the response! So this disables the wide menu promotion on all pages, but I was hoping to keep this feature on my main home page. Do you know if it’s possible to keep it on the main page, but have it disabled on the other pages?