Mega menus
Last updated
Was this helpful?
Last updated
Was this helpful?
Mega menus display menu links in multiple columns so customers can quickly browse large catalogs. Add multiple sub-menus along with a featured image, text, and links to customize your mega menu.
Watch the tutorial video below for a step-by-step walkthrough to set up your mega nav menus.
Before adding the mega menu block, you will need to create a menu with three levels of nested links.
The top-level link appears in the header and opens the mega menu.
The 2nd-level links appear as column headings inside the mega menu.
The 3rd-level links appear in columns below the second-level links.
From your Shopify admin, go to Content > Menus. Choose a menu item to be the 'parent' or top-level link that will open the mega menu from the header. To create 2nd-level and 3rd-level links, use the drag-and-drop handles ⋮⋮
to move links under other links to nest them.
Once you have created your nested menu, you can now add mega menu blocks to your Header in the theme editor.
Click the arrow next to the Header section, and click (+) Add Mega menu. Choose either the Compact mega menu or Full width mega menu.
Click the Mega menu block to open the settings.
Enter the exact name of the top-level link (e.g. "Shop") in the Dropdown parent link field.
Click Save.
If you've translated your store using an app, make sure the "Parent dropdown link" name is not translated, as this will break the mega menu. See instructions below for fixing translated mega menus.
Change the number of columns, change the total column width, and choose to show dividers.
Click Mega menu block to find settings
Column count
Set the number of columns. If there are more submenus than columns, then submenus will appear in multiple rows.
1-4 Default: 4
Total column width
(For compact mega menu) Use the slider to expand the total width of the mega nav and the space between the menu lists and image.
Show column dividers
Display dividing lines between the menu columns.
Display a feature image, promo text, and call-to-action button within the mega nav menu.
When translating your theme, make sure the "Dropdown parent link" text from the mega menu settings is not translated.
If you've auto-translated your theme, the parent link text may have been translated, which will break the mega menu for other languages.
If you're using the Translate & Adapt app ↗:
In the Shopify admin, click Translate & Adapt to open the app.
Go to Theme > Section groups.
Click Header Group in the side panel.
Scroll down to find the "Meganav Parent link" that's used for the dropdown parent link.
Delete any translations of the parent link in the secondary language column.
Click Save.
Related links