Fluorescent
Stiletto
Stiletto
  • Stiletto Help Center
    • Start using Stiletto
      • Theme licenses
      • Migrate your theme
    • FAQs
    • Video tutorials
    • Changelog
  • General
    • Editing themes
      • Adding sections
      • Using templates
      • Accessibility
      • Customizing your site
      • SEO for Shopify themes
      • H1 heading tags
      • Online store speed
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • Adapting theme content
      • Edit default theme content
      • Multiple languages
      • Dynamic content with metafields
      • Unique content for markets
    • Update your theme
  • Theme styles
    • Theme settings
    • Style presets
      • Demo layouts
    • Fonts
    • Colors
    • Animation
  • Pages
    • Templates
      • About page
      • Blog page
      • Blog posts
      • Collections list
      • Contact page
      • Customer accounts
      • FAQ page
      • Lookbook
      • Password page
      • Search page
      • Store locations
      • 404 page
      • Home page
    • Announcement bar
    • Header
      • Layout and style
      • Logo
      • Transparent header
      • Mega menus
      • Mobile menu
      • Quick search
      • Language and currency
      • Social media icons
      • Customer account icon
    • Footer
      • Links block
      • Newsletter block
      • Text and image block
      • Language and currency
      • Payment icons
      • Custom Liquid
  • Sections
    • Theme sections
      • Using sections
      • Content blocks
      • Blog posts
      • Collapsible row list
      • Collection list grid
      • Collection list slider
      • Complete the look
      • Contact form
      • Countdown banner
      • Countdown bar
      • Events
      • Featured collection grid
      • Featured collection slider
      • Featured product
      • Gallery carousel
      • Grid
      • Image compare
      • Image hero
      • Image hero split
      • Image with text
      • Image with text split
      • Multi column
      • Newsletter
      • Newsletter compact
      • Promotion banner
      • Promotion bar
      • Quotes
      • Recently viewed products
      • Rich text
      • Sales banner
      • Scrolling content
      • Shoppable image
      • Shoppable image editorial
      • Slideshow
      • Testimonials
      • Video
      • Video hero
      • Video with text
    • Popups
      • Sign up popup
      • Age verification
      • Countdown popup
      • Promotional popup
  • Products
    • Product listings
      • Product card style
    • Prices and discounts
    • Product badges
    • Quick shop
  • Product pages
    • Product template
      • Alternate templates
      • Pre-order template
      • Gift card
    • Layout and style
      • Product tabs
      • Media gallery
      • Sticky product details
      • Breadcrumbs
      • Navigation buttons
    • Overview blocks
      • Default blocks
        • Description
        • Product header
        • Variant selector
        • Quantity selector
        • Buy buttons
        • Local pickup banner
        • Share icons
        • Sticky add-to-cart bar
      • Collapsible rows block
      • Complementary products
      • Custom options
      • Image block
      • Information popup
      • Product labels
      • Secure payment
      • Stock level indicator
      • Text block
      • Text list with icons
      • App blocks
    • Variant options
      • Variant chips
      • Variant swatches
        • Enable swatches
        • Use default colors
        • Use custom colors
        • Use variant images
        • Use custom images
        • Change swatch styles
        • Show on product cards
        • Dynamic option availability
      • Media grouping
      • Sibling product swatches
    • Product page sections
      • Product reviews
      • Product recommendations
  • Collection pages
    • Collection template
      • Collection landing
      • Sale collection
      • Subcollections
      • Flash sale
    • Banner
    • Product grid
    • Filters and sorting
  • Cart
    • Cart page
    • Quick cart
      • Added to cart popup
      • Empty cart promotion
    • Free shipping bar
    • Low inventory warning
    • Cross sells
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • For developers
    • Custom CSS
    • Custom fonts
    • Custom Liquid
    • Custom JavaScript events
    • Edit Theme JavaScript
Powered by GitBook
On this page
  • Watch video tutorial
  • Create nested menu in admin
  • Add mega menu block
  • Customize menu layout
  • Add promotions
  • Fix translated mega menus

Was this helpful?

  1. Pages
  2. Header

Mega menus

Last updated 1 month ago

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.

Why is the mega menu not working in other languages?

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 .

Watch video tutorial

Watch the tutorial video below for a step-by-step walkthrough to set up your mega nav menus.

Create nested menu in admin


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.

STEPS

In your Shopify admin:

  1. Go to Content > Menus.

  2. Select the main menu used for your header.

  3. Add a top-level link that will open the mega menu and contain the nested sub-menus.

  4. Add your 2nd-level menu links and use the drag handles ⋮⋮ to move them under the top-level link.

  5. Add your 3rd-level menu links and use the drag handles ⋮⋮ to move them under the 2nd-level links.

  6. Click Save.

Add mega menu block


Once you have created your nested menu, you can now add mega menu blocks to your Header in the theme editor.

  1. Click the arrow next to the Header section, and click (+) Add Mega menu. Choose either the Compact mega menu or Full width mega menu.

  2. Click the Mega menu block to open the settings.

  3. Enter the exact name of the top-level link (e.g. "Shop") in the Dropdown parent link field.

  4. Click Save.

Customize menu layout


Change the number of columns, change the total column width, and choose to show dividers.

Click Mega menu block to find settings

Setting
Description
Options

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.

Add promotions


Display a feature image, promo text, and call-to-action button within the mega nav menu.

STEPS

In your theme editor (Customize):

  1. Make sure Show promo is enabled.

  2. Select or upload a Image to display inside the mega navigation menu. This image is not displayed on mobile.

  3. Use the Promo width and Height sliders to change the shape and size of your promo image.

  4. Set the Promo position to the Left or Right side of the mega nav.

  5. Use Image focal points to specify the main focus of your images. The focal point of your image will remain centered and within frame when your site adapts to different screen sizes.

  6. (Optional.) Add Promo text as a title on your image.

  7. Select or paste a URL for the Button link.

  8. Enter text for the Button label.

  9. Select a Text position (above) to position your headings (and button) in one of 9 areas of the grid block.

  10. Use the color selectors to customize the Text color.

  11. Change the Overlay color and Overlay opacity using the slider to increase the contrast between the text and slide image.

    These settings help make your text clear and readable.

    Set the Opacity to 100% to create a solid color slide. This helps avoid images that include text in the image itself, which are not responsive or recommended.

  12. (Optional) Click the Overlay gradient option to add a color overlay that fades across a range of hues.

  13. Click Save.

Fix translated mega menus


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.

  1. In the Shopify admin, click Translate & Adapt to open the app.

  2. Go to Theme > Section groups.

  3. Click Header Group in the side panel.

  4. Scroll down to find the "Meganav Parent link" that's used for the dropdown parent link.

  5. Delete any translations of the parent link in the secondary language column.

  6. Click Save.


Related links

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 .

See our to learn more about specifying a focal point for an image used within a section or for an uploaded image file when used anywhere on your site.

The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now). To learn more,

We recommend using WebAIM's when matching colors to make sure your text is clear and readable for everyone.

You can choose the style, angle, position, and opacity of the gradient. See Shopify's to learn more.

If you're using the :

read "What is a Call to Action?"
contrast checker
color gradient guide ↗
Translate & Adapt app ↗
Header
fixing translated mega menus
fixing translated mega menus
image guide