Sub menu

The module Sub menu allows you to display a side menu together with the main menu.

Place the module in the template to make it accessible on all pages of the website.

Submenu module.

Example of a sub menu.

Settings

The following settings can be made in the module. Common settings for starting point is From metadata or Nearest group page or metadata.

General

Display number of levels

Set the number of sublevels to be displayed.

Starting point

Top level

Select this if you want the menu to always start from the top level.

Current page

The menu will start on the page the visitor is on.

Sub tree

Select this if you want the menu to start from the closes sub-branch.

From metadata

Using the link metadata type, you can point out where in the structure the menu should start. This allows you to use the same menu module to display different content in the menu depending on where you are in the structure.

Select the specific metadata field that is to be used as starting point.

From closest group page or metadata

Select this if you want the menu to always start from the sub-branch that is selected.

Custom starting point

Allows you to specify a specific page in the structure where the menu should start.

The menu will always show the same content, no matter where in the structure you are.

Appearance

Background color

Choose Section background if you want the Sub menu to have a background color. The color setting for section background is edited in the theme settings.

Go to: Site settings/Appearance/Theme/

More on module Sub menu

Accessibility

The name of the module is used as an aria label which is used by, for example, screen readers to identify the content. It is advisable to name the module in a way that assistive technologies understand what the module displays. There should not be multiple menu modules with the same name on the page.

Use Theme to adjust color

The submenu can be colored via Theme in different ways:

  • If you don't make any settings, the Font Color and Section Background will be taken from the Basic settings in the theme set for the page.
  • If you choose "Select theme" on a layout that holds the sub menu, you can select a different theme for the submenu and thus get different colors.

You can also add your own CSS to the module if you want a different size, e.g. font-size:1.2em;

This is a module from Sitevision Marketplace. To download it, go via the menu in the navigator -> Marketplace in the edit mode of your website.

The page published:

Did the information help you?

help.sitevision.se always refers to the latest version of Sitevision