Skip to content

Links and breadcrumbs

The screens Links and Breadcrumbs under Content → Nova → Component styles set how the shop displays its links and the breadcrumbs. Both work as described on How a component screen works.

The screen Content → Nova → Component styles → Links sets four link patterns. Each has the states Normal and Hover.

ElementClassNote
Link in contenta · .btn-link-inlineA link in a text: pages, descriptions, consents and .btn-link-inline. Underlined, so it stands out from the text without its colour.
Navigation link.p2lab-nova-menu__links-link · .p2lab-nova-footer__contact-link · .breadcrumb aA link in a navigation: the menus, the header, the footer’s columns and the breadcrumbs. Without an underline; hovered, it underlines.
‘More’ link.p2lab-nova-menu__more · .p2lab-nova-category__moreThe link to a whole list: “Show all” in the menus, “More” under a category’s text. Bolder than a navigation link, in the brand’s colour.
Pill.p2lab-nova-chips__linkLinks as pills: a links block with “Pills” before each link, the quick links of Shopping Experiences and the search’s suggestions. A framed pill that wraps to the next line; hovered, it takes a background.

The links of the cart, the product page, the notice bar, the link that closes a popup and the footer’s bottom line are based on Link in content; on a background of their own colour they keep that colour. The navigation links of the footer, the header and the breadcrumbs take the look of Navigation link but keep their own colour, and the footer’s ‘More’ link keeps its own colour too.

Nova’s builders style their links with elements of their own on Element styles, which are based on these patterns and set only what differs. Buttons that look like links (.btn-link) are the variant Link button on the screen Buttons.

The checks measure the contrast of each link against the page and whether Link in content stands out from the text around it: “Without an underline the link stands out from the text around it only by colour: ratio:1; it needs min:1 or an underline to be recognised as a link.”

The screen Content → Nova → Component styles → Breadcrumbs sets the breadcrumbs of listings, product pages and the checkout’s steps. “The product page’s block and the category header only say where the breadcrumbs stand.”

The group Settings (“every place in the shop”) holds the field Breadcrumbs:

RowOptionsNova’s valueHelp
Separator›, /, ·, Skin icon›
Home pageNone, Text, IconText“Not part of the structured data, so the positions in search results stay”
Current page at the endShow, HideShow“The category on a listing, the product’s name on a product page”
‘You are here:’ before the trailNone, ShowNone
On phonesScrolls, Link to the parent, WrapsScrolls“The parent link always goes one level up; it is not a back button”

“The checkout’s steps keep all their steps on phones; the setting for phones does not reach them.”

ElementClassStates
Breadcrumbs.breadcrumbNormal
Breadcrumb link.breadcrumb-linkNormal, Hover
Current page.breadcrumb-item[aria-current]Normal
Separator.breadcrumb-placeholderNormal

Breadcrumb link is based on Navigation link of the screen Links. The list shows the separator chosen in the settings as the sample of Separator.

The breadcrumbs are displayed on category pages and Shopping Experiences pages, on product pages with a Shopware layout and on other pages with a navigation. Three parts of Nova place them and take their look from here:

PartWhat it decides
Product page · Breadcrumbs blockits position in the template; the look only from here
Listing · Category headerabove the header or in it; on a banner the banner’s text colour
Cart and checkout · steps as breadcrumbsseparator, size and spacing; the steps’ colours from the checkout document

Plugins that add to the core’s breadcrumbs get the same look without changes of their own.

The preview Preview — breadcrumbs in every place shows the trail of a category, of a product page and of the checkout’s steps, with the contrast of the link, the hovered link, the current page and the trail against the page.