Shopify themes, liquid, logos, and UX
My mega menu is not showing up on the home page, can anyone help fix it?
I have created two different header menu styles one for the home page and another for all other pages by adding the following code to theme.liquid file.
{% if template.name == 'index' %}
{% sections 'header-group-2' %}
{% else %}
{% sections 'header-group' %}
{% endif %}
On the home page header which uses 'header-group-2' the mega menu does not work.
The mega menu works perfect on other pages however for 'header-group-2' it does not work.
To create the section 'header-group-2' I copy and pasted the code from json template header-group.json.
I am using Dawn theme version 15 as my base theme.
Store url: https://fourthtrimester.au/
Solved! Go to the solution
This is an accepted solution.
Hello @gordonpeters
Check the JavaScript for the Mega Menu:
Verify Liquid Code for the Mega Menu:
Check for CSS Styling Differences:
Confirm JSON Data for the Mega Menu:
Check for Theme Customizer Settings:
Clear Cache and Test on Incognito Mode:
Note: If you're not familiar with coding, you can me access to your store, and I’ll make the changes for you. Thank you!
This is an accepted solution.
Hello @gordonpeters
Check the JavaScript for the Mega Menu:
Verify Liquid Code for the Mega Menu:
Check for CSS Styling Differences:
Confirm JSON Data for the Mega Menu:
Check for Theme Customizer Settings:
Clear Cache and Test on Incognito Mode:
Note: If you're not familiar with coding, you can me access to your store, and I’ll make the changes for you. Thank you!
Hi @devcoders,
I have tried to work it out but have had no luck so far. I sent you a message with our Collab Request Code.
Ok sure I will check and update you.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025