Skip to content

Header builder

A header is a document that defines the layout and the content of the shop’s header. Colours, fonts and animations come from the skin of the sales channel. Several headers can exist side by side; the assignment determines which one a page shows.

Content → Nova → Header → List of headers → Edit

The builder opens from the list: Edit in the row of a header, or a click on its name. The other screens of the section are Which header shows where and Import and export. The list, the order of the headers, the assignment and the import follow the schema shared by every Nova document. → Documents · Where a document shows

On the left the builder shows the open header under the heading Header structure, with the list Choose a header, the menu of document actions and a line with its place, for example Place: header · Storefront · view: desktop. Under it are the tabs Design and Display:

  • Design holds the structure of the view shown on the preview and, under it, the settings of the header or of the selected row, column or block;
  • Display holds where and to whom the header is displayed, and the header on the checkout pages. → Display and checkout

On the right the preview shows the header on a page of the shop. Its toolbar switches the View, the Page (Home, Category, Product, Checkout), the state Scrolled, the Cart (Empty or 2 items) and the width of the preview.

Without any header the builder shows No header yet and a button that opens the dialog New header.

The dialog New header creates a header from one of five starting points. A new header starts as a draft without assignment; it appears in the shop once it is assigned and published.

Starting pointContents
ClassicTop bar, logo and search, menu below
Logo in the centreMenu left, logo centre, icons right
CompactOne row: logo, menu, search and icons
CheckoutLogo, secure shopping, phone
EmptyEmpty rows

A header has three views, switched over the preview:

ViewRowsColumns
DesktopTop, Main, BottomLeft, Centre, Right in each row
PhoneTop, Main, BottomLeft, Centre, Right in each row
DrawerDrawer, the panel the menu button opensItems

The rows and columns are pinned: they are neither moved, duplicated nor removed. A row that is not needed is hidden with Hide in its actions; it disappears from the shop but remains in the builder, and Show restores it. The drawer has one row, which cannot be hidden.

Blocks are placed freely in the columns. In the desktop and phone views the blocks of a column are arranged in one line; in the drawer they are arranged one under another. Each block type can be placed at most once per view, except Text, Button, Shopping Experiences layout and From plugins, so Duplicate is not available for such a block. The actions of a block are Earlier and Later (in the drawer Up and Down), Duplicate, Copy and Delete.

The drawer is opened in the shop by the block Menu button of the phone view. Without that block a drawer with items cannot be opened; the check list reports it.

ViewBlocks offered
DesktopLogo, Search, Account, Wishlist, Comparison, Cart, Language, Currency, Main menu, Service menu, Contact, Secure shopping, Notice bar, Shopping Experiences layout, Text, Button, Social media, From plugins
Phonethe same, with Menu button in place of Main menu
DrawerSearch, Account, Wishlist, Comparison, Cart, Language, Currency, Main menu, Service menu, Contact, Shopping Experiences layout, Text, Button, Social media, From plugins

→ Blocks of the header · Blocks of the header, footer and sections

With no row, column or block selected, the settings show Header · the whole document in three tabs.

General

  • Width: Container, Full or Boxed; a row may change it in its tab Layout.
  • Mobile view from: Tablet or Phone. Below the skin’s breakpoint of that device the shop shows the phone view, above it the desktop view. The breakpoints are set in Content → Nova → Variables → Breakpoints.
  • Transparent on the home page: the header is displayed over the first banner of the home page until it becomes sticky. Which rows lose their background is set in the row’s tab Behaviour; the logo needs a version for dark backgrounds.
  • Over the product gallery on phones: Off, Dark text or Light text. Where the product page keeps its gallery at the top on a phone, the header is displayed over the picture until it becomes sticky: with Dark text in the header’s own colours, with Light text in white with the logo’s version for dark backgrounds.
  • ‘Skip to content’ link: the first element for keyboards and screen readers.
  • Caching: ESI, without a setting. The header is shared by the pages; cart, wishlist and account refresh by themselves.

Sticky

  • Mode: When scrolling up (the header comes back when scrolling up and does not cover the text while reading), Always (stays at the top of the screen) or Off (scrolls with the page).
  • Sticky rows shows which rows stick on the desktop and on the phone; they are set in the row’s tab Behaviour.
  • Height of the main row per device, Logo when sticky, Shadow (None, Subtle, Medium), Background when sticky, Blur under it and On phones (sticky in the phone view too). With Mode set to Off these fields are not available.

A see-through Background when sticky, for example white at 75 %, keeps the page visible under the header; Blur under it blurs the page under such a background. A sticky notice bar and the ‘Back to top’ button are placed below the sticky header and take its height into account.

Look

  • Line under the header;
  • Icon size per device;
  • Captions under the icons: Account, Wishlist, Cart and Menu, per device;
  • under Elements, the style field of the header’s elements: Header, Row, Element (icons, links), Button and Drawer.

The elements Element (icons, links), Button, Text, Link and Social icon can be styled again in a column and in a block. A block’s look is determined on four levels: the skin’s values for the header, the header’s Look, the column’s Look and the block’s own Look.

A row of the desktop or phone view has the tabs Layout, Behaviour, Visibility and Look.

Layout offers under Columns the ready splits Centre on the page (the centre column in the middle of the page, the sides equal), Centre fills (the centre column takes the room between the sides), 3 : 6 : 3 and 4 : 4 : 4. A single column’s width is changed with − and + in its bar on the preview; Auto makes it as wide as its content. Further fields: Vertically, Column gap, Minimum height, and Width (As the header, Container, Full, Boxed).

Under When the columns do not fit the row sets When they do not fit per device: Hide by priority (one line; the columns of the lowest priority are hidden, the priority is set in the column’s tab Column) or Wrap (up to Lines at most lines; when that is not enough, the columns of the lowest priority are hidden). Without a setting of its own the row hides by priority.

Behaviour

  • Sticky: the row stays while scrolling. The field is not available while the header’s Mode is Off.
  • Over a transparent header: Transparent or Keep the background, for example the dark top row keeps its background while the row with the logo becomes transparent. The field is available only with Transparent on the home page switched on.

Visibility holds the rule, the time window and the devices of the row.

Look holds the row’s background, background image, inner spacing, corner radius and CSS class, and Bottom line. Without Line under the header in the header’s tab Look no lines are displayed in the header.

The row Drawer has the tabs Layout, Behaviour and Look.

  • Layout: Side (From the left or From the right, mirrored for right-to-left languages), Width (240–480 px, at most 85 % of the screen) and Menu in the drawer (Level by level or Tree).
  • Behaviour: Close on a click on the backdrop. The focus always stays in the drawer, Esc closes it, and the focus returns to the menu button.
  • Look: under Drawer the Overlay (empty: the shop’s backdrop) and Lines between the items.

The check list of the header reports, among others:

  • Desktop: no cart in the header;
  • Phone: the cart only in the drawer or not at all; it should show without opening the menu;
  • Phone: no search; on a phone customers search more often than they browse the menu;
  • The drawer has items, but the phone’s view has no ‘Menu button’ to open it;
  • a transparent header, or light text over the product gallery, without a logo for dark backgrounds, so the logo shows in white;
  • The sticky header (desktop) leaves the cart behind;
  • a main row of the phone view with more than four blocks, whose touch targets fall under 44 px on a 360 px screen;
  • a Language or Currency block in a sales channel with one language or currency, where the block shows nothing.

The check list does not block the publication.