Shopify themes, liquid, logos, and UX
Hello,
After making my SHOP navigation a drop down it no longer takes you to the all products page. Any fix for this?
Thanks in advance!
Link: https://qz26pn-cv.myshopify.com/
Password: bagono
Solved! Go to the solution
This is an accepted solution.
HI @GoombaGrows
In order to fulfill your request, please follow these steps
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </body>
<srcipt>
document.addEventListener("DOMContentLoaded", function () {
const shopMenu = document.getElementById("HeaderMenu-shop");
if (shopMenu) {
shopMenu.addEventListener("click", function (event) {
event.preventDefault();
window.location.href = "/collections/all";
});
}
});
</script>
I hope this helps
Best,
Daisy
You can rename "Shop" to "Category" and create a new item named "Shop" with a link to "All Collections." Otherwise, you will need to modify the code.
Modifying the code is definitely what I'm looking for then. Thank you for your quick response.
This is an accepted solution.
HI @GoombaGrows
In order to fulfill your request, please follow these steps
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </body>
<srcipt>
document.addEventListener("DOMContentLoaded", function () {
const shopMenu = document.getElementById("HeaderMenu-shop");
if (shopMenu) {
shopMenu.addEventListener("click", function (event) {
event.preventDefault();
window.location.href = "/collections/all";
});
}
});
</script>
I hope this helps
Best,
Daisy
This worked! Thank you so much 🙂
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025