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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024