All things Shopify and commerce
My main menu category's that have a drop down are not clickable. only the category's that do not have dropdown work. I have every main menu category linked to their own page, so when i click on main category it should open on that category page but, it does not. I'm only able to click what's in my dropdown menu. i have hover over menu on so when i do click on main category nothing happens. I want it to go to its own page.
can someone help me please, I've been on this for days now.
Solved! Go to the solution
This is an accepted solution.
1. Go to Online Store.
2. Click Edit code.
3. Find the Snippets folder.
4. Find the file header-mega-menu.liquid.
5. Add the <a> tag on line 19. See the example code below:
<a href="{{ link.url }}">
<span
{%- if link.child_active %}
class="header__active-menu-item"
{% endif %}
>
{{- link.title | escape -}}
</span>
</a>
Can you share the link to your store?
https://qualityhomeselections.com
pw: h
The hover option works but as soon as you get off category it disappears instead of being able to click on one of the sub menus underneath.
This is an accepted solution.
1. Go to Online Store.
2. Click Edit code.
3. Find the Snippets folder.
4. Find the file header-mega-menu.liquid.
5. Add the <a> tag on line 19. See the example code below:
<a href="{{ link.url }}">
<span
{%- if link.child_active %}
class="header__active-menu-item"
{% endif %}
>
{{- link.title | escape -}}
</span>
</a>
Thank you very much! that worked!
Hey dan,
after fixing the problem with clicking main category, the colors on the first 2 changed to purple.
i looked over the theme settings and it is set correctly.
how can i get the colors back to white like the original?
1. Go to Online Store.
2. Click Edit code.
3. Find the assets folder.
4. Find the file base.css.
5. Add code below:
details >.header__menu-item a {
color: inherit;
}
details[open]>.header__menu-item {
text-decoration: none;
}
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024