All docs pages

Liane docs › Guides

Menus

Menus are made in your admin under Online Store › Navigation, and chosen in the theme editor. Liane uses:

WhereSettingStarts with
HeaderHeader › Menumain-menu
Phone menu, below the main menuHeader › Drawer menufooter
Customer account menuHeader › Customer account menucustomer-account-main-menu
FooterFooter › Menu blockfooter

Nest links under a top-level link to make a dropdown, up to three levels deep. A top-level link with links under it opens its dropdown (on click, or on hover and keyboard focus without JavaScript), so its own page isn’t linked from the dropdown. Add that page as the first link inside it.

As soon as a second-level link has links of its own, the dropdown becomes a mega menu: each such link is a column, with its title as a linked heading.

  • Color columns: when most of a column’s links are color names, each gets a swatch drawn by the tool. A name counts when it matches a color in Content › Metaobjects › Color, or is a color word browsers know.
  • Menu feature: under Header › Menu feature, add an Image, a Link label and a Link to show a picture in the first dropdown.

Fitting the menu

When the menu doesn’t fit on one row, its spacing tightens first, then its last links move into a More list. On smaller screens (below 1100 pixels wide) the whole menu moves into the menu drawer. With Logo position on large screens set to Center, the menu is split around the logo.

The phone menu

On phones and tablets the menu opens in a drawer, three levels deep. Each group starts with a View all link. After the menu, the drawer can show a Drawer collection, a second menu (Drawer menu), the country and language selectors, and the account and cart links.

Add Menu blocks to the Footer. A menu with nested links makes one column for each top-level link. On phones, footer menus with a heading fold under it.