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 7 (7)

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
7964 1550 1579

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 solution to let me know or Donate
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

MadMarc
Tourist
6 1 1

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

KimmyBee
Visitor
2 0 0

Thanks! works with Dawn 9.0 too.

kurtburt
Visitor
1 0 0

I'm on Dawn 14.0 and when I do this I lose all my css settings. 

Artzen_tech
Shopify Partner
536 107 107
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