Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there! I am on the Studio theme, and wanted my Parent menu to be clickable on the header. Right now, when I add submenus, the parent menu link does not work, and only functions as a drop down when clicked on. How can I also enable parent menu to be clickable like seen in other themes?
Hey @RyanCheong995,
Try to add the following code to your header.liquid file.
<ul class="main-menu">
{% for link in linklists.main-menu.links %}
<li class="menu-item {% if link.active %}active{% endif %}">
<a href="{{ link.url }}" class="menu-link">{{ link.title }}</a>
{% if link.links %}
<ul class="sub-menu">
{% for child_link in link.links %}
<li class="menu-item">
<a href="{{ child_link.url }}" class="menu-link">{{ child_link.title }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
Hey @StudioEnchant , thanks for that, I have tried it but did not seem to work.
Perhaps you'd like to take a look? My collab ID is 9814
Okay, but what's the store URL?
Hey, please provide the collaborator request code
Hello again @RyanCheong995,
we have sent the collaborator access request. Kindly accept it so we can make the changes to your store.
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