A user working with Shopify’s Dawn theme wants to display collection images in dropdown menus, with images appearing horizontally alongside collection names.
Proposed Solution:
A community member provided custom code modifications involving:
Editing header.liquid or related header files in the theme’s sections folder
Replacing existing menu code with Liquid template code that pulls collection images
Adding CSS styling to create a horizontal mega-menu layout with images sized at 300x300px
Implementation Challenges:
The original poster cannot locate the specified code snippets in their theme files
Dawn theme may use header-dropdown-menu.liquid instead of the suggested file names
Multiple attempts to paste the code resulted in Liquid syntax errors, specifically an ‘endif’ delimiter error on line 103
Code formatting issues occurred when posting solutions to the forum
Current Status:
The issue remains unresolved. One contributor suggested searching for existing Dawn mega-menu solutions or using AI assistants to generate custom navigation sections. Another offered professional services if DIY attempts fail. The original poster indicated they have months to resolve this and will continue troubleshooting.
Summarized with AI on October 23.
AI used: claude-sonnet-4-5-20250929.
Using the DAWN theme how would I go about using the collections image as the menu item in the drop down menu? if that makes sense. When clicking shop and is has 2 collections wanting it to show the photo i have added as the collections image then its name under the image and both next to each other going across. if that makes sense
Add below CSS in Online store >> Themes >> Customize >> Click on Settings icon to the left >> Scroll down to the bottom and paste it to the custom CSS tab.
or
assets/base.css or assets/component-menu.css
It’s an advanced theme customization that varies by theme.
If you must DIY just search using the theme name + something like “mega menu” “menu with images” etc
As this type of stuff is very common for merchants to burn their time on. https://community.shopify.com/search?q=dawn+megamenu
If you do have time to spend then try the AI assistant instead to generate a custom navigation section that meets requirements, though you will still need to overcome the problems of working with an LLM “ai”.
If your making a lot of changes to a base theme you should probably look at other free themes to be sure the wanted features aren’t already available in a better theme; or could just be transplanted from one theme to another; e.g. Refresh is dawn based, or horizon based themes having different features etc.
If you still can’t get it working and want to start saving time to work on bigger business matters then reach out to me for services.
Hi @JGBowie — makes sense and it’s doable two ways:
1) Quick code approach (Dawn theme)
Go Online Store → Themes → Actions → Edit code.
Open sections/header.liquid or snippets/header-menu.liquid (file name varies by theme).
Find the loop that renders your dropdown menu links and replace (or extend) the menu item markup to pull the collection object image when the menu link points to a collection.
Notes:
In some themes link.object.object_type may be collection or you can test link.type == 'collection_link'.
Adjust sizes/classes to make images and titles line up horizontally (use CSS grid/flex).
Always duplicate your theme and test in the duplicate before publishing.
If you prefer not to edit Liquid, Tapita: AI Sections & Blocks includes a customizable mega-menu section that can show collection images + titles in rows/columns out of the box. It’s faster and safer for merchants who don’t want to touch theme code.