Shopify themes, liquid, logos, and UX
I have build a store using dawn theme.
But the problem is when I click the main navigation, the dropdown appears, which Is okay but it's link is disabled.
The link on that anchor doesn't work. I'm talking about the main navigation. 1st child and grandchild links are working fine, but if there is a dropdown level, the parent link doesn't work.
Any way to fix this???
Solved! Go to the solution
This is an accepted solution.
Please find following code your sections/header.liquid file
<summary class="header__menu-item list-menu__item link">
<span {%- if link.child_active %} class="header__active-menu-item"{% endif %}>{{ link.title | escape }}</span>
{% render 'icon-caret' %}
</summary>
Replace to
<summary class="header__menu-item list-menu__item link">
<span {%- if link.child_active %} class="header__active-menu-item"{% endif %}><a href="{{ link.url }}"
class="header__menu-item header__menu-item ">{{ link.title | escape }}</a></span>
{% render 'icon-caret' %}
</summary>
Thanks!
Nevermind it works! thnx!
hi,
this is working but the color and font size changed. how to solve that
@qaiser1 send me the link, i'll check and let you know.
Hi @dmwwebartisan I've added the additional code but have encountered the following issues
Desktop
The parent only will open when clicked (not able to hover), it renders an arrow indicating a submenu but this is not clickable and you can't see the submenu.
When you click onto the parent then the new Parent (child) is visible, but not clickable, and the new child (grandchild) is clickable.
Mobile
Not able to access the menu, when clicking the three parallel lines, nothing happens.
Any assistance would be greatly appreciated.
Thank you.
you might need to add a class and define rules for that. share your url, i'll share the css code.
you might need to add a class and define rules for that. share your url, i'll share the css code.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024