Zenit Design - Themes
Buy themeThemesSupport
EN
EN
  • First steps
  • Start Guides
    • Atmos - Demo 1
    • Atmos - Demo 2
    • Atmos - Demo 3
    • Atmos - Demo 4
    • Gravity - Demo 1
    • Gravity - Demo 2
    • Horizon - Demo 1
    • Horizon - Demo 2
    • Sphere - Demo 1
    • Sphere - Demo 2
    • Stratus - Demo 1
    • Stratus - Demo 2
    • Stratus - Demo 3
    • Stratus - Demo 4
  • Tips
    • Dashboard
    • Theme configuration
    • Dictionary
    • Multiple sales channels
  • Configuration sets
  • Support
    • Read errors
    • Find cause
  • 🎨Styling
    • General
      • Basic layout
      • Product images
      • Produkt Layout-Typ
      • Global background
      • Preloader
      • Accent line
      • Scroll animation
    • Typo & Colors
      • Theme colors
      • Status messages
      • Fonts
      • Typography
      • E-Commerce
      • Buttons
    • Logos
    • Header
      • Header
      • Search
      • Top bar
      • Shop navigation
      • Main navigation
      • Flyout navigation
      • Dropdown navigation
    • Footer
      • Footer
      • Content
      • Columns
      • Columns styling
      • Footer bottom
    • Components
      • Sidebar
      • Sidebar navigation
      • Forms
      • Image & gallery slider
      • Produkt slider
      • Category Listing Slider
      • Pagination
      • Breadcrumbs
      • Cookie banner
      • Offcanvas
      • Backdrop
      • Scroll-Up button
    • Category
      • Category header
      • Hero section
      • Filter
      • Listing actions
      • Product boxes
      • Quickview
    • Product
      • Detail
      • Gallery
      • Description
      • Description navigation
      • Description content
    • Checkout
      • Cart
      • Checkout
  • ⚙️SETTINGS
    • Basic settings
    • Custom field assignment
      • Custom fields for product page details
      • Custom fields for product datasheets
    • Social media icons
    • Marketing text slider
    • Custom tab details page
    • Custom footer columns
    • Custom code
  • 📂Contents
    • Shopping experiences
      • Sections
      • Blocks
        • Elements
          • Image text slider
          • Search banner
          • Text banner
          • Teaser
          • Features
          • Breadcrumbs
          • Code
          • Divider
          • Category-navigation
          • Footer navigation
          • Placeholder
        • Commerce
          • Image gallery and buy box with product name & manufacturer logo
          • Image gallery and buy box with product name & manufacturer logo & description
          • Image gallery and buy box with description
          • Image gallery with description and buy box with product name & manufacturer logo
        • Category
          • Category listing
        • Columns
        • Layouts
      • Block inner spacings
      • Block outer spacings
      • Animations
      • CSS Variables
    • Category
      • Hero section
      • Category header
      • CSS classes
      • Category badges
      • Category Icons
      • Products per row
    • Product page
      • Layouts
      • Default layout
      • Gallery mode
      • Custom tabs
      • Videos tab
      • Datasheets
    • Product images
      • Image sizes
      • Aspect ratio
      • File format
      • Product image background
    • Layout type
    • Responsive tables
    • Multilingualism
  • 🎓Tutorials
    • Demodata import
    • Demo theme configuration import
    • Duplicate Child-Theme
    • Customizations
    • Configuration export/import
    • Custom Fields export/import
    • Embed fonts locally
    • Embed fonts locally with child-theme
  • 🛠️Update Guides
    • Child theme update
    • Shopware 6.6.9.0
    • Shopware 6.6.0.0
    • Shopware 6.5.0.0
    • Theme 3.5.3
    • Theme 2.11.0
  • ❓FAQ
    • Overview
    • Accessibility
      • Typography
      • Colors
      • Images
      • Video
      • Accessibility checker and resources
    • General
      • Copyright notice
      • Wishlist
    • Product layout
    • Licenses
      • Trial version vs full version
      • Changing the licence domain
    • Derivations
      • Child theme
      • Theme duplicate
      • Child theme vs theme duplicate
    • Updates
      • Theme is displayed as incompatible
      • Update is not displayed
    • Known issues
      • Could not assign child-theme
      • Text modules show technical name
      • Theme save error
      • SVG logo is not displayed
      • Search / Input mobile zoom
      • Text is not visible / readable
Powered by GitBook
On this page
  • Colors
  • Basic configuration
  • Category images of subcategories
  • Items
  • Category icons

Was this helpful?

  1. Styling
  2. Header

Flyout navigation

Last updated 4 months ago

Was this helpful?

Activate the flyout navigation under Header > > > Subnavigation appearance

Colors

The background color (1) of the flyout navigation can also be a partially transparent color. Via the colorpicker the visibility can be deposited in the alpha channel.

Text (2) and text:hover (3) colors do not have to be different. When moving the mouse over, the individual entries move a few pixels to the side.

Basic configuration

The flyout navigation is the mega menu in Shopware 6, which displays the subcategories when hovering over them. With full width (1) you set whether the menu should use the full width of the theme. Header line (2) the header containg the text "To category XY >" can be hidden to create a distraction-free design. Various selectable animations (5) round off the concept.

The category image can be disabled by the flyout teaser (3) configuration. Often you want the category image to be the category image in the header of the category, but not visible in the flyout navigation.

Grouping-border left (6) helps to highlight a delimitation of columns for many subcategories, see example 3.

Navigation levels (7) specify how many levels of the category tree should be displayed. Counted is from the main category level.

Caution: In the sales channel settings, the number of main navigation levels must be at least as high as specified here.

This setting fixes the Shopware bugs NEXT-9461 and NEXT-13203.

Cols (8) specifies how many columns the menu items should be arranged in the flyout menu.

Using dynamic column filling (9), the columns are built based on their available space. This means that several main categories can be accommodated in one column.

Category 1 Subcategory Subcategory Subcategory Category 2 Category 3

Category 4 Subcategory Subcategory Subcategory Subcategory Subcategory Subcategory Subcategory

Category 5 Subcategory Subcategory Category 6 Subcategory Subcategory Subcategory

Category 1 Subcategory Subcategory Subcategory

Category 2

Category 3

Category 4 Subcategory Subcategory Subcategory Subcategory Subcategory Subcategory Subcategory

Categoryorie 5 Subcategory Subcategory

Category 6 Subcategory Subcategory Subcategory

If you activate the Content scrollable (10) option, you define the limit of the flyout and the display of the scroll bars with the maximum height (11). This allows you to ensure that your customers can easily reach all navigation points, even with more extensive navigation - even if the header is sticky.

Category images of subcategories

Display category images of subcategories (1) activate the category images globally for subcategories of your first main navigation level in the flyout navigation. The assigned category image will be used as the image.

In the custom fields of the category, you can adjust this setting for each category. Additionally, you can upload an alternative category image if you do not want to display the actual category image.

You can set the Appearance (2) to "Text below image" or "Text next to image." You can configure the Background color (3 and 4) and the Text color (5 and 6) of the category image label. Additionally, you can configure a Border (7 and 8) and a Drop shadow (9 and 10).

The Maximum image height (11) determines the maximum height of the tiles, ensuring that the tiles are displayed in a equal size even with different image formats.

With the Image display mode (12), you decide how the image should be presented:

  • Original: The image is displayed in its original size.

  • Cropped: The element is completely filled with the image. Smaller images will be stretched, potentially causing them to appear blurry. For images with an unsuitable aspect ratio, the longer side will be cropped, so some parts of the image will not be displayed.

  • Fixed Height: The image is stretched and adjusted to the size of the container without being cropped.

The Vertical image alignment (13) defines how the image is positioned vertically within the container. The Horizontal image alignment (14) defines how the image is positioned horizontally within the container.

With the Aspect ratio (15), you can specify whether the tiles are displayed in portrait or landscape orientation. The Padding (16) determines the space between the tile content and the edges.

You can configure a Hover animation (17). Options include "None" and "Image zoom."

Example:

Items

You can format the individual entries of the flyout navigation.

Example 1:

The background color can also be transparent. With the rgba function a opacoty can be specified in addition to the color.

rgba($sw-color-brand-primary, 90%)

Example 2:

Example 3:

Category icons

from theme version 4.7.0

Via the custom fields under Catalogues > Categories > [Select category] in the tab "Additional" you will find a media field Category Icon for configuring the icon.

You can use the checkbox Icon (1) to activate the display of icons in the main navigation and set the Size (2) of the icons for the respective menu.

Example:

Extern-link icon (4) displays the familiar "External Link" icon for categories of type "Link" when it is checked by . This way your visitors will know exactly what happens when they click on such a link, see example 2.

🎨
"Open in new tab"
Main navigation
Basic configuration
background color with transparency
marked extern links
Flyout navigation with grouping border
Category icons in flyout