Menus
Slab separates desktop navigation (dropdown menus in the header) from the menu overlay (the panel that opens when customers tap the menu control on smaller screens or when a button is set to open the menu). You build the link structure in the Shopify admin, then style behavior and layout in the theme editor.
For how overlay blocks connect to theme actions, see Overlays and popups. For flex layouts often used next to menus in the header, see Grid layouts.
Menu dropdown (header navigation)
The Menu dropdown block drives the main horizontal navigation with hover or click dropdowns, nested links, and optional featured content beside links.
When to use Menu dropdown
When you want parent links with dropdown panels on desktop (and visibility can be limited to desktop if you rely on the overlay menu on mobile).
When you need full-width “mega menu” style panels for specific top-level items.
When you want to add extra blocks (promotions, products, and so on) inside a specific dropdown via Menu item child blocks.
Menu overlay (drawer, sidebar, or popup)
The storefront menu action opens whichever overlay block is assigned the Menu overlay preset in Overlay group. The default theme content often uses a Drawer block (commonly named Menu drawer) with a Menu page or Menu block inside it.
When to use the overlay menu
Primary navigation on viewports where the header menu is hidden.
A full-screen or side-panel menu experience independent from the header bar.
Swap the menu to a different overlay type
Only one overlay block should use the Menu overlay preset at a time.
Menu controls in the header use the same Menu overlay action. On a Button block, turn on Enable custom action, set Overlay to Menu overlay, so the button opens the overlay you configured above.
Customize menus and dropdowns
Tune the Menu dropdown block
Under Parent links, Child links, and Grandchild links, adjust typography for each level.
Turn Enable dropdown icons off if you do not want chevrons on items that have children.
Turn Enable click to open on so parents with children act as buttons that open the dropdown instead of navigating to the parent URL (info text in the theme explains this behavior).
Under Dropdown, choose Layout Stacked or Inline for how child groups arrange, and use Gap size for spacing in that layout.
Under Dropdown colors, set scheme, border, and divider styling, or use Enable inheritance so the dropdown follows surrounding color context.
Add featured content to one top-level item
Inside Menu dropdown, add a Menu item block.
Set Menu key to the exact parent menu item title that should show that content when its dropdown is open (the theme matches a handleized form of the title).
Add blocks inside Menu item as needed; those blocks appear only for the matching top-level item.
Full width dropdowns
For top-level items that should span the viewport like a mega menu, use the Full width dropdown setting on the Menu dropdown block.
Enable internal padding on the dropdown applies to non-full-width dropdowns; full-width panels use wider edge padding in the theme.
Full-width dropdowns still respect a maximum height with scrolling when content is tall, so long lists remain usable on smaller screens.
Menu dropdown: dropdown and layout settings
Layout (dropdown)
Stacked or Inline arrangement of child link groups in the panel. Default Stacked.
Enable internal padding
Adds padding inside the dropdown content when the panel is not full width. Default on.
Enable margin
When Full width dropdown has values, applies horizontal margin from theme layout settings. Default on.
Gap size (dropdown)
Spacing inside the dropdown panel; how it applies depends on Layout (stacked or inline) and whether the panel is full width.
Full width dropdown
Comma-separated parent link titles that use a full viewport-width panel.
Enable click to open
Parents with children become toggle buttons; dropdown closes on outside click. Default off (hover/focus behavior).
Horizontal alignment
Aligns the row of parent links: Left, Center, or Right.
Last updated
Was this helpful?