Shopify themes, liquid, logos, and UX
As DEMONSTRATED on the PICTURE, I want that the SHOP button to have two functions, one of them redirecting the user to the ALL PRODUCTS/AKA DESTINATION PAGE that it is set to, as well as by hover opening up the sub mega menu. How can I do that?
Solved! Go to the solution
This is an accepted solution.
Hi @LDLC_Shop,
Find the following code:
<span
{%- if link.child_active %}
class="header__active-menu-item"
{% endif %}
>
{{- link.title | escape -}}
</span>
Replace it with the following code
<a
id="HeaderMenu-{{ link.handle }}"
class="list-menu__item link--text focus-inset"
href="{{ link.url }}" style="text-decoration:none;"
>
<span
{%- if link.child_active %}
class="header__active-menu-item"
{% endif %}
>
{{- link.title | escape -}}
</span>
</a>
Find the following code:
<span>{{ childlink.title | escape }}</span>
And replace it with following code
<a
id="HeaderMenu-{{ link.handle }}"
class="list-menu__item link--text focus-inset"
href="{{ childlink.url }}"
style="text-decoration:none;"
>
<span>{{ childlink.title | escape }}</span>
</a>
This is an accepted solution.
Hi @LDLC_Shop,
Find the following code:
<span
{%- if link.child_active %}
class="header__active-menu-item"
{% endif %}
>
{{- link.title | escape -}}
</span>
Replace it with the following code
<a
id="HeaderMenu-{{ link.handle }}"
class="list-menu__item link--text focus-inset"
href="{{ link.url }}" style="text-decoration:none;"
>
<span
{%- if link.child_active %}
class="header__active-menu-item"
{% endif %}
>
{{- link.title | escape -}}
</span>
</a>
Find the following code:
<span>{{ childlink.title | escape }}</span>
And replace it with following code
<a
id="HeaderMenu-{{ link.handle }}"
class="list-menu__item link--text focus-inset"
href="{{ childlink.url }}"
style="text-decoration:none;"
>
<span>{{ childlink.title | escape }}</span>
</a>
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