Throttle Builder

Menus and mega menu

Menus are the lists of links in your header and footer. You build them once under Site, then show them anywhere with the Menu component. They are written into the page on the server, so shoppers and search engines get the links straight away.

The Menus tab with the Header, Footer and Mobile menus, New menu, and the Add items panel with Pages, Collections, Categories, Products and Custom link
The Menus tab with the Header, Footer and Mobile menus, New menu, and the Add items panel with Pages, Collections, Categories, Products and Custom link
Saved once your store is upgraded
Opening a link in a new tab, CSS classes, descriptions, badges, the mega menu and category-tree items are saved only once your store has moved to the new site settings. Until then the Menus tab shows them and says they are not in the draft you publish yet ("They show in the editor now and save once the store upgrade is live"); labels, links, nesting, order and named menus always save. Until then a mobile menu with items also counts as one of the extra named menus, and the tab says phones keep showing the header menu until the Builder update ships.

The Menus editor

Open Site and choose the Menus tab. It has three panels: Add items on the left, the menu as a tree in the middle, and the selected item on the right. A preview under the editor draws your changes as you make them. Changes go to your site draft; publish them with the site settings (see Publishing and history). Undo and redo cover every edit.

  • Drag an item to move it, or select it and use Up, Down, Nest and Un-nest.
  • Tick items in Add items and add them to the end of the menu.
  • Select an item to edit its Label and Link.

An AI agent edits one menu with update_menu, or all of it with update_site_settings.

Several menus

Every site has a Header menu, a Footer menu and a Mobile menu. You can add up to 10 more named menus, for example help. Choose the menu to edit in Menu to edit. Use New menu to add one (lower case letters, digits and dashes, starting with a letter, 40 characters at most), Rename to rename it and Delete menu to delete it. A component that shows a deleted menu shows no links.

A named menu is shown by choosing its name in the Menu component's Menu option. The default name is header.

The mobile menu

Phones use the header menu unless you make a mobile menu. On the Mobile menu tab, choose Make a mobile menu from the header to start from a copy, then remove what phones do not need. When a mobile menu has items, a Menu component set to header shows it on phones (up to 767 px wide) and the header menu on larger screens. Both are in the page HTML and CSS chooses which is shown.

Items, levels and links

  • A menu has up to 3 levels: top-level items, then items under them, then one more level.
  • A menu holds up to 60 items in total, counting an automatic category tree after it fills itself.

What an item can link to

Kind of itemWhere it goes
PagesOne of your Builder pages. If the page is deleted the item shows as broken.
CollectionsA collection from Product Catalog.
CategoriesA category from Product Catalog.
ProductsA product from Product Catalog.
Custom link, Web addressAny web address, or a path on your store.
Custom link, searchYour store search with the words you type.

The catalog kinds need Product Catalog linked. An item whose target cannot be found is shown as plain text on the store, not as a link.

Category tree

With Product Catalog, Add category tree adds one item that fills itself with your live categories, so new categories appear without editing the menu. Choose where it Starts from (all categories or one) and Levels shown (One level or Two levels). Items cannot be nested under a category tree.

More item options

OptionWhat it does
DescriptionA line shown under the label in mega menu panels (160 characters at most).
BadgeA short tag next to the label, for example New (20 characters at most).
CSS classClass names for styling this item in your site CSS, separated by spaces.
Open in a new tabOpens the link in a new tab.

Mega menu

A mega menu opens a wide panel under a header item. It works only on top-level items of the header menu. Select such an item and switch on Mega menu panel.

OptionWhat it does
Columns2 to 6 columns (default 3). Each second-level item starts a column, with its own items under it.
Featured block: NoneNo extra block.
Featured block: Saved sectionA saved section shown beside the columns.
Featured block: ImageA picture with an Image links to target and an Image caption.

To show the panels, set the Menu component to the mega mode. On phones the panels become a list that opens one level at a time, and the featured block is hidden. Turn the panel off before nesting an item that has one.

Showing a menu on a page

Add the Menu component to a column of the header, footer or any page. Choose the Menu name and a Mode.

ModeWhat it looks like
HorizontalA row of links. Submenus open under their item.
VerticalA column of links with their submenus shown below them.
DrawerA row on larger screens. On phones, a menu button that opens a full-screen drawer; Escape closes it. The Show drawer on setting moves that point: Phones (below 768px, the default), Tablets and phones (up to 1024px) or Every width.
MegaA row with wide mega panels for items that have one.

On the server

  • The menu is written into the page HTML with the page. The browser does not fetch it afterwards.
  • Every level is a nested list of links inside a navigation element, so search engines can follow all of it.
  • Without JavaScript, submenus open when you hover or focus an item.

Menus are part of the site settings, so they go live when you publish the site settings, not with a page.

Next