Skip to main content

Menus and mega menu

The two menu blocks of the header, their settings, and how to build a mega menu with link groups and image cards.

The header has two menu blocks. Both show their items in the Desktop row and feed the mobile menu. Their panels use the header's Navigation color scheme and that scheme's Main menu background color, or its Background when that is empty, see Colors. A mega panel's content lines up with the header's Horizontal container.

Menu: a store menu

The Menu block shows a menu from Online Store > Navigation. Use it when your whole menu is managed in the admin's navigation. Its Style decides how items with sub-links open:

  • Dropdown: a narrow panel under the item with the sub-links in a list. A third level opens as a second level of the panel.

  • Mega menu: a full-width panel with the sub-links in columns. A sub-link with its own links becomes a column heading with its children under it.

  • Menu: The menu to show. Its sub-links open under each item; a third level is indented under its parent.

  • Style: Mega menu spans the full width and shows the sub-links in columns. Dropdown opens a narrow panel under the menu item.

Custom menu: built in the editor

The Custom menu block is built from Menu item blocks, each with a label and either a link or content. Its Style applies to every item.

  • Style: Applies to every Menu item. Mega menu spans the full width. Dropdown opens a narrow panel under the menu item.

Building one step by step:

  1. Add a Custom menu block to the Desktop row, or inside a Group.

  2. Inside it, click Add block > Menu item and give it a Label, for example Shop.

  3. Inside the Menu item, add a Links block and pick a menu. Each top-level link of that menu with sub-links becomes a titled column; top-level links without sub-links share one column.

  4. Add a Card block for an image. Set its Link to a collection or product and leave Image and Heading empty to use that collection's or product's image and title.

  5. Repeat for each item. A Menu item without Links or Card blocks is a plain link using its Link.

Menu item

One item of the Custom menu. With Links or Card blocks inside it, the item opens a panel; without them it is a plain link.

  • Label: Text of the menu item.

  • Link: Used when the menu item has no Links or Card blocks.

Links

A menu shown as titled columns inside a Menu item.

  • Menu: Links with their own links show as titled groups, with a third level indented under its link. Links without children share one group.

Card

An image with a heading inside a Menu item, linked to a collection, product or page.

  • Image: Shown above the heading.

  • Heading: Shown under the image.

  • Heading size: Small uses Heading 4, Large uses Heading 1.

  • Link: Link to a collection or product to use its image and title when the image or heading is empty.

Did this answer your question?