Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
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
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?
Best regards,
GemPages Support Team
yes! password is: potsandstuff
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
yes, thank you! the password is: potsandstuff
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:
<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