Skip to content

Main menu

A menu is a Nova document that contains the items of a navigation bar together with their drop-downs. It is edited in the builder Main menu, which opens from Content → Nova → Menu → List of menus: Edit in the row of a menu, or a click on its name. A menu is saved as a draft and published like every other document; the common scheme of documents is described in Documents. A menu takes its look from the skin of the sales channel that shows it.

A menu has no assignment page of its own. Where it appears is set per sales channel and place in the Menus and places dialog, described in Places and channels.

The left column shows the open menu and the settings of the current selection. The preview on the right shows the bar with the panel of the selected item and is edited in place.

The top of the left column contains:

  • the heading Menu items with the selection of the open menu and its action list (New menu, Import…, Rename…, Duplicate, Where it shows, Replace with a layout…, Export JSON, Show all, Delete);
  • the places of the menu, for example “Place: Main navigation · …”, or the notice “Not shown anywhere yet: assign it under ‘Places and channels…’”;
  • the line Animation of the whole menu with the button Change;
  • the switch Items / Structure: the items in the order of the bar, or the whole menu as a tree;
  • the button + Add item.

Each item in the list has its own menu with Duplicate, Move up, Move down and Delete. Items are reordered by dragging or with Alt + ↑ / ↓. An icon next to an item marks a visibility schedule, a missing translation or an item hidden on phones.

The preview has the toolbar Editing on the preview with the device switch (Desktop, Tablet, Phone) and the button Play opening, which plays the opening animation of the selected panel. On Phone the preview shows the off-canvas menu built from the same items; see Mobile menu.

Below the preview the list To check before publishing reports problems of the draft. None of them blocks publishing; Show selects the item, tab, column or block that the entry concerns.

More actions → New menu opens the dialog New menu with the field Name and the choice How to start:

  • Empty: a menu without items, filled with + Add item.
  • Ready-made layout: the menu is built from the navigation categories of the previewed sales channel. The dialog states the channel and the number of top categories it found.

The ready-made layouts are:

LayoutResult
Dropdown listsEach top category on the bar, its subcategories in a dropdown list with their own subcategories as sub-lists.
Category columnsA full-width panel per top category, with its subcategories as headings over their own subcategories in even columns.
Category tilesA full-width panel per top category, with its subcategories as tiles with their images, or with their names until they have one; more than eight in columns.
Full widthA full-width panel per top category: equal columns with the subcategories in groups, the brands and an image with short links; the item ‘All categories’ opens all of them as tabs.

More actions → Replace with a layout… builds one of these layouts from the categories again and replaces all items of the open menu after a confirmation. Undo restores the previous items until the menu is left.

+ Add item offers four starting points: Link (category, product, landing page or address), Category with a panel, Catalogue with tabs and Dropdown list. The kind of an existing item is changed in its settings under Drop-down:

KindWhat the item opens
NoneNothing: a plain link without a panel.
ListA drop-down list with any number of levels; each level opens next to the previous one.
MegaA panel under the bar, built from rows and columns on a 12-column grid.
CatalogueTabs on the left; each tab has its own panel with rows and columns.

The content of every kind is kept when the kind is switched, so switching back restores what was built. The shop renders only the part that matches the current kind.

A selected item has four tabs.

General: Label (per language; the note under the field lists the languages that still lack a translation), Link (empty for a panel item: “None: only opens the panel”), Open in a new tab, Badge at the item with Badge text, Icon, Icon only (the label stays for screen readers), Style (Link or Button) and Position (Left side of the bar or Right side of the bar).

Panel: for a plain link only the note “A plain link has no panel”. For the other kinds:

  • Appear animation: inherited from the menu, or overridden in this item;
  • Panel width (Full width, Container, Custom with Custom width, 960 px by default) and Alignment (To the container or To the item), for mega and catalogue items;
  • Tab column width (190 px by default), for a catalogue item; on desktops only, phones show the tabs as an accordion;
  • Opening: On hover · on touch by tap or On click; on hover with Opening delay (150 ms by default) and Closing delay (300 ms by default);
  • Submenu direction (Right, left at the window edge, Always right, Always left) and List width (240 px by default), for a list item;
  • Dim the page, Height (Down to the bottom of the window, then scrolling or As tall as the content), Content loading (With the page, In the background after the page, On the first opening) and Links in the page HTML, for mega and catalogue items.

A panel that loads after the page keeps its links in the page HTML while Links in the page HTML is on, so that search engines see them. With With the page the panel is always part of the HTML and the switch cannot be changed.

Visibility: On desktops, On phones (the item in the mobile menu), Who sees it (a rule of the Rule Builder), From and Until. Outside the schedule the item disappears without publishing again.

Look: the style of the bar entry, the badge and the panel, overriding the menu’s own styles in this item; Background image of the panel with Overlay; the Decorative image; and under Advanced the CSS class.

A mega panel and every tab of a catalogue consist of rows, columns and blocks of the shared builder. The blocks available in a menu are Categories, Category tiles, Products, Manufacturers, Banner, Banner set, Links, Text and Countdown. A selected column offers Duplicate, Copy, Delete and the column library; a selected block Duplicate, Copy and Delete. A copied column can be pasted onto a column of any panel; a copied block under a block or into a column of any panel.

In the column settings the field On phones determines what the column becomes in the mobile menu: Level in the mobile menu, Links without a level or Leave out.

A catalogue tab has the tabs Tab, Visibility and Look. An empty tab label takes the name of the linked category; clicking the open tab and ‘Show all’ above its columns lead to the tab’s link. Under Visibility the tab is shown or hidden separately on desktop and tablet (Show on desktop and tablet) and on phones (Show on phones).

An entry of a dropdown list has the tabs Entry, Visibility and Look. Under Visibility it is switched separately for the drop-down (Show in the drop-down) and for the phone menu (Show in the phone menu); an entry left out takes its sub-entries with it. All entries of one list share one look: the item’s Look tab, element Dropdown list entry.

A mega or catalogue panel can have a decorative image that may stick out above the panel. It is added in the item’s Look tab under Decorative image and has three tabs:

  • Image: File (PNG or WebP with a transparent background), Width, Animation and Loading;
  • Position: Anchor, Offset from the edge, Sticking out above the panel, Layer (Above the content or Under the content) and Reserve space in the panel;
  • Visibility: the devices, the rule and the schedule.

A new decorative image is not shown on tablets, because the narrower tablet panel has no room reserved next to it. The mobile menu has no panel and shows no decorative image. The buttons Higher and Lower move the image up or down in steps of 20 px.

The list To check before publishing reports a decorative image that sticks out 80 px or more and therefore covers the items on the right of the bar, and an image that covers the columns because no space is reserved for it.

Clicking the menu’s name above an item’s settings opens Whole menu: … with the tab Look. The styles set there apply to every item and column of the menu; an item or a column changes them for itself in its own Look tab. A style that the menu does not set is taken from the skin’s menu element styles, see Element styles.

Besides the checks of the shared builder (missing translations, an ended schedule, an item without a link, low contrast of a bar entry), the list reports a category that is inactive or deleted. While the menu is set in at least one place, it also lists what active plugins add to the menu that the menu would not show.

The shop shows only the published version of a menu, never the draft. In the main navigation it shows the menu that the sales channel places there; without a published menu in that place it shows the standard Shopware navigation. A Nova header can also show a menu chosen in its own menu element, see Header builder.

On a desktop the panels open with the delays set per item, items set to open on click open on click, and on a touch screen the first tap opens the panel. Only one panel is open at a time. A panel set to load on the first opening is fetched when the pointer starts resting on its item or when it opens, and a panel set to load in the background is fetched in the same way and also once the page has loaded.