New Shopify Certification now available: Liquid Storefronts for Theme Developers

how to make main menu clickable in shopify

socialbs
Shopify Partner
3 0 0

I want to make mainmenu clickable in shopify

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 hope someone reply me soon .

Theme : Dawn; 

Replies 5 (5)
dbuglab
Shopify Partner
473 51 50

Hi @socialbs 

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!


Best Regards,
Dbuglab

banned
socialbs
Shopify Partner
3 0 0
Dan-From-Ryviu
Shopify Partner
5643 1040 1067

Hi @socialbs 

You can do that by adding 2 lines of code in your header-mega-menu.liquid and header-dropdown-menu.liquid files 

Line 1

<a href="{{ link.url  }}">

Line 2

</a>

Screenshot 2023-08-24 at 15.11.27.png

 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

MadMarc
Tourist
6 1 0

nice one this solution actually works, lots of misleading replies to this question in the community overall.

 

Thank you for this quality reply

 

solution confirmed working with dawn theme 10.0

Artzen_tech
Shopify Partner
521 105 105
Hello @socialbs 

Its Artzen Technologies! We will be happy to help you today.

 

I understood your problem and i have come up with a solution that will help you in achieving the desirable result.

Please go to the Navigations in the backend and follow the below screenshots.

 

1. Delete the submenu from navigation.

Artzen_tech_2-1692865223503.png


2.Add the link for collection in the main menu and click Save.

Artzen_tech_3-1692865387503.png

 

 

 

Let me know if need further assistance
Regards,
Artzen Technologies

If helpful, please Like and Accept this Solution to help others
Artzen Technologies | A Shopify Development Agency
WhatsApp - 9877983930

Book FREE CONSULTATION who want to migrate to Shopify or want to start an eCommerce business with Shopify