make a button in the header open a menu

make a button in the header open a menu

marthedesigner
Shopify Partner
18 0 1

Hi, Right now on the store we have a button that can lead to an external website, but we would like it to open a menu dropdown, that already has 3 sons, so we cannot do that from the navigation settings. Any idea how can we make the button display and close an existing menu on the navigation? thanks!

 

We would like it to be like SYSCOM - Todo en Sistemas de Emergencia, Seguridad y Comunicación in which once you select each category it displays the subcategory, but with more than 3 that is what is allowed in the navigation.

 

Screenshot 2024-06-20 at 13.37.33.png

☁️ Email Marketing, SEO and Ecommerce + Klaviyo and Shopify Certified Partner 落
Replies 3 (3)

namphan
Shopify Partner
405 47 70

Hi @marthedesigner,

Do you want to display a dropdown menu when you click the button?

If you want, please send me the store link, I will check it

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com
marthedesigner
Shopify Partner
18 0 1

yes exactly that. the thing is the menu we have already has 3 level categories, so it wouldn't be possible to integrate it as a normal menu. i'm using theme trade (shopify free) but cannot send you the link since the design is unpublished 😞

 

I tried using  <a href="linklists.nuevo-main-menu" class="button btn">CATEGORÍAS</a> in theme.liquid but it doesn't link anywhere since it is a menu not a link.

☁️ Email Marketing, SEO and Ecommerce + Klaviyo and Shopify Certified Partner 落
namphan
Shopify Partner
405 47 70

Hi @marthedesigner,

It's really difficult to check this without being able to access the website. If possible, please send me the site link or something in a private message, I will check it.

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com