The main site navigation
The main site navigation is divided in two main parts. The first is the Global navigation, with the main target group entry points. The Global navigation is displayed in the header of the site on all pages and is always the same. The second part is the Local navigation, which are the sub levels of the Global navigation. The first level of the local navigation are the Primary entries. The primary entries are displayed in the navigation bar on all pages and in the menu modal and changes based on the selection in the Global navigation. The Local navigation should never have more than three sub levels including the Primary entries.
The navigation parts - examples
Setting up the Global navigation
The Global navigation represents the top level entries, displayed globally on all pages. You can add up to four entries here. The recommendation is two entries, Privat and Företag.
Global navigation entries are displayed in the navigation bar and menu modal. Clicking the entries opens the page and closes the menu modal if it's open. Clicking the menu button opens the menu modal.
How to configure the Global navigation
- Go to Data source > Navigation structure config.
- Click Create Page and choose template Global menu item configuration.
- Add the Title.
(Please observe that the name will be retrieved from the Navigation Title in the page properties. The name you add here is only displayed in admin view.) - Browse to the page under Link path.
- Click Create, Done and Publish.
Continue to add the other global entries. You can add up to four global entries.
Note! The name in the menu will be retrieved from the Navigation Title in the page properties. If the Navigation Title is empty the name is retrieved from Title.
The logotype as H1 headline
Every page needs to have an H1 headline. For global entry pages, this can be challenging because these pages often feature a banner with a marketing message at the top.
To address this issue, you can set the logotype as the H1 and use its alt-text as the headline.
- Go to Data source > Navigation structure config.
- Open properties on the global entry you want to configure.
- If needed break the inheritance under "Wrap Logotype in Heading 1" and add the new headline text in the Heading 1 - Alt text field
- Save and Publish
Note! Make sure to either remove the H1 headline on the global entry page or change its level to avoid having two H1 headlines.
Local navigation - The primary entries
The Local navigation represents the sub categories for the global entries. These are called the Primary entries. Our recommendation is three primary entries.
The Primary entries are displayed in the menu bar and menu modal.
| Global | Primary | Second level | Third level |
|---|---|---|---|
| Privat | Våra tjänster | Låna pengar | Bolån |
How to configure the Local primary navigation entries
When setting up the local primary entries in the navigation there are two options, Container or Link. The Container option is used for adding a group of entries for the next level in the navigation. The Link option is used for creating a direct link to a page.
Container
- Go to Data source > Navigation structure config.
- Choose the Global navigation entry you want to add local content to.
- Click Create Page and choose the template Navigation Structure Config Container and click Next.
- Enter the title. This is the name that is going to be displayed in the local navigation.
- Click Create and the group for the primary entry is created.
Link
- Click Create Page and choose the template Navigation Structure Config Link and click Next.
- Enter the title.
(Please observe that the name will be retrieved from the Navigation Title in the page properties. If the Navigation Title is empty the name is retrieved from Title.) - Browse for the page in the structure.
- Click Create and the link to the page is created.
Note! When creating a direct link the name in the menu will be retrieved from the Navigation Title in the page properties. If the Navigation Title is empty the name is retrieved from Title.
The second level of the local navigation
The second level of the local navigation is displayed in the navigation modal when you click on any of the primary entries you set up in the previous step.
| Global | Primary | Second level | Third level |
|---|---|---|---|
| Privat | Våra tjänster | Låna pengar | Bolån |
Setting it up
The set up of this level is basically the same as when setting up the local primary navigation. You can add containers for groups of links or direct links to pages.
Container
- Go to Data source > Navigation structure config.
- Browse to the local entry you want to add content to.
- Click Create Page, choose the Navigation Structure Config Container and click Next.
- Enter the title. This is the name that is going to be displayed in the menu modal. Note: now you can create a link for the Title.
- Click Create and the group is created.
Link
- Click Create Page and choose the template Navigation Structure Config Link and click Next.
- Enter the title.
(Please observe that the name will be retrieved from the Navigation Title in the page properties. If the Navigation Title is empty the name is retrieved from Title.) - Browse for the page in the structure.
- Click Create and the link to the page is created.
Note! When creating a direct link the name in the menu will be retrieved from the Navigation Title in the page properties. If the Navigation Title is empty the name is retrieved from Title.
Create a link for Title
The third level
The third (and last) level is displayed in the menu modal when you click on any of the second level groups you created in the previous step.
| Global | Primary | Second level | Third level |
|---|---|---|---|
| Privat | Våra tjänster | Låna pengar | Bolån |
Setting it up
This is the last level of the navigation. You should not go deeper. This is where you add the links to the pages in the groups you created in the previous steps. The links can be sorted in logical groups by adding headlines.
- Click on the second level group and choose Edit.
- Click on the layout container (Drag components here) under the headlline Additional links and on the plus-sign in the menu.
- Choose Additional Section Component.
- Click on the Additional Section Component, choose configure to add a Header for the section of links if needed. Note: you can now create a link for the header
- Click on the layout container in the Additional Section Component and on the plus-sign in the menu.
- Choose Link component
- Click on the Link component and choose Configure
- Browse for the page you want to create a link to. The component will retrieve the name from the Navigation Title in the page properties. If the Navigation Title is empty the name is retrieved from Title.
- Continue to add links.
- If you want to add a new header you can add a new Additional Section Component and repeat from the first step.
Create a link for the Header
Additional and Shortcut links
You can add additional links and shortcuts links that are displayed in the menu modal. They are supposed to be used as direct links to pages, for instance become customer links for each target group view, as the become-customer-select-list is not visible on mobile. The shortcut links are to be used as related links, links not really belonging to the actual view, but still related to the content area.
How to add additional and shortcuts links
Additional links
- Choose the entry you want to add additional links to and click Edit.
- Click on the layout container (Drag components here) and on the plus-sign in the menu.
- Choose Additional Section Component.
- Click on the layout container in the Additional Section Component and on the plus-sign in the menu.
- Choose Link component
- Click on the Link component and choose Configure
- Browse for the page you want to create a link to. The component will retrieve the name from the Navigation Title in the page properties. If the Navigation Title is empty the name is retrieved from Title.
Shortcuts links
- Choose the entry you want to add related shortcuts links to and click Edit.
- Click on the layout container (Drag components here) under the headlines "Shortcuts links" and "Bubble Text" and on the plus-sign in the menu.
- Choose Link component.
- Click the Link component and choose Configure.
- Browse for the page you want to create a shortcut to. The component will retrieve the name from the Navigation Title in the page properties. If the Navigation Title is empty the name is retrieved from Title.
Bubble text
- Click on the Shortcut Component and choose configure.
- Add the text in the text field. Please observe that the max number of characters is 6.