A user is experiencing issues with a custom-coded megamenu in Shopify’s Dawn theme. The problem has two parts:
Main Issues:
Clicking on “underwear” and “dress” images doesn’t display the corresponding products
These images fail to appear entirely in mobile view
Key Technical Details:
The user shared code snippets from header.liquid and header-dropdown-menu.liquid files
Code includes image pickers, captions, and links for up to 4 images in the megamenu
CSS styling is present for desktop layout
Community Responses:
Multiple users pointed out that desktop and mobile menus use different code implementations
Suggestion to customize the mobile-specific menu display code separately
Recommendation to contact Shopify support directly, as image display issues may relate to browser/device differences
Note that the theme editor allows searching and customizing megamenu features
Current Status:
The discussion remains open with no definitive solution provided. The user needs mobile-specific code modifications but hasn’t received complete implementation guidance yet.
Summarized with AI on November 11.
AI used: claude-sonnet-4-5-20250929.
I am using Shopify Dawn theme. I have created megamenu by coding but when I click underwear and dress image the product of underwear and dress is not showing. Also, underwear and dress images are not showing in mobile mode. Please help me. Thank you.
Srore url: https://blue-chic-clothes.myshopify.com/
Password: Admin
Hi @dreamtechzone_5 ,
This is Theodore from PageFly - Shopify Page Builder App.
I think you can contact Shopify for support in displaying images in Megamenu. Because mobile and desktop are two different browsers and different sizes, the image not showing may be a feature of megameu. Finally, you can search and customize in the theme editor
{% for link in section.settings.menu.links %}
{% assign mega_menu = false %}
{% for block in section.blocks %}
{% if block.settings.title == link.title %}
{% assign mega_menu = true %}
.mega-menu-wrapper ul {
list-style: none;
padding: 0;
}
.mega-menu-wrapper ul li {
margin: 0;
padding: 2px 0;
}
.mega-menu-image {
flex: 1;
}
.mega-menu-wrapper ul li a{
text-decoration: none;
color: #777;
font-size: 16px;
display: inline-block;
transition: all 0.4s;
}
.mega-menu-wrapper ul li a:hover{
color: #333;
text-decoration: underline;
}