We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Why isn't my main menu link functioning after adding a drop down menu?

Why isn't my main menu link functioning after adding a drop down menu?

chloeefisher
Visitor
3 0 0

the shop link in my main menu navigation will no longer click through after adding a drop down menu. it is linked to my "all collections" page, but when clicking on the "shop" tab, it only shows the drop-down menu. I am thinking this may be because of the theme but I would love the have the drop down menu show up when hovering the link and be able to click the link to get to a collections page. Is this something that's possible?

 

website:

chloefisherceramics.com

Replies 5 (5)

GemPages
Shopify Partner
5625 1262 1292

Hello @chloeefisher ,

 

It's GemPages support team and glad to support you today.

 

Could you please share your store password then I can see and suggest something for you?

GemPages_0-1673487993112.png

 

Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
chloeefisher
Visitor
3 0 0

yes! password is: potsandstuff

BSS-Commerce
Shopify Partner
3478 465 561

Hi @chloeefisher 

 

Can you kindly share with us your store password? Then, we will check and suggest you a solution if possible.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
chloeefisher
Visitor
3 0 0

yes, thank you! the password is: potsandstuff

BSS-Commerce
Shopify Partner
3478 465 561

Hi @chloeefisher 

Please follow these steps:

- Step 1: At Shopify Admin, select Online Store -> Themes -> Edit Code

- Step 2: Find and open the theme.css file and add the following code at the end of the theme.css file:

#Details-HeaderMenu-2 > .header__submenu {
    animation: animateMenuOpen var(--duration-default) ease;
    animation-fill-mode: initial;
    z-index: -1;
}

#Details-HeaderMenu-2:hover > .header__submenu {
    animation-fill-mode: forwards;
    z-index: 1;
}

- Step 3: Find and open the theme.liquid file, add this code before the </body> tag, like this:

view - 2023-01-13T132948.021.png

<script>
   let btn = document.getElementById("Details-HeaderMenu-2");
   btn.onclick = function(e){ 
      e.preventDefault(); 
      window.location.href = "https://chloefisherceramics.com/collections/all";
   }
</script>

I hope that it will work for your site.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency