Goal: make top-level main menu items clickable (link to their collections) in Shopify’s Dawn theme instead of only opening submenus.
Approaches shared:
Code edit: add two lines in header-mega-menu.liquid and header-dropdown-menu.liquid (exact code not clearly visible due to formatting; a screenshot was provided).
Navigation-only method: remove the submenu under the parent, then set the parent menu item to the collection link. Confirmed working on Dawn 9.0 and 10.0.
Reports/Issues:
Newer versions: Users on Dawn 14.0 and 15.0 report losing CSS settings after applying changes and seek a fix.
Mobile: One report that it works on desktop but not on mobile.
Styling: After making links clickable, some see default purple/blue link colors and underlines. A code tweak was suggested to adjust styling, but the exact snippet isn’t visible; underlines persist for at least one user.
Other notes:
A store preview URL was shared upon request; no password posted.
One moderator suggested hiring a Shopify Expert if a code solution isn’t found.
Status: Partially resolved. The navigation-only method works on older Dawn versions, but issues remain for Dawn 14/15, mobile behavior, and styling (colors/underlines). Code snippets/images are referenced but incomplete, limiting reproducibility.
Summarized with AI on December 14.
AI used: gpt-5.
when I click on it then it shows me sub menu but I want that when i click on it , it will be rediract me show all the products that is in that collection , who select me in mainmenu backend.
I’m not formally trained in code to provide you with an exact solution to reconfigure the menu to be clickable. However, I’m confident one of our Shopify experts would be able to accomplish this at a reasonable price.
Just wanted to share this as an option in case you are unable to find a coding solution in your thread.
I cant believe it, ive tried everything and this was the only thing that worked! Only problem is that the menu options are now purple or blue. Is there a way to inherit the theme colors? So the purple and blue disappear
and in line 29 i added:> > {{ childlink.title | escape }}> {% render ‘icon-caret’ %}> > When i preview store it works like this without showing blue or purple lines. But do you think this is a safe method? Can i add this to my original store or will there be problems? And if so can you please help me with fixing the blue and purple lines i get with your code?> > i really appreciate you helping out! Thank you