Navigation
With Ghost you can add, edit and reorder navigation items. This guide will show you how to create and manage navigation items in your Ghost site.
The Moment support Primary and Secondary navigation.
- Primary navigation is displayed in top bar
- Secondary navigation is displayed under the hamburger button in fullscreen navigation.
Manage navigation items
To manage navigation items, follow these steps:
- Go to Settings โ Site โ Navigation
- Click Customize
Dropdowns
Our theme support dropdown menus in navigation, allowing you to organize related links under a parent item. This is useful for creating more complex navigation structures without cluttering the menu.
To create a dropdown menu:
- Add a parent item that will serve as the dropdown trigger
- Add child items by creating navigation items with labels that start with
-
(dash followed by a space)
The items with labels starting with -
will be nested under the previous regular navigation item.
For example, to create a โResourcesโ dropdown with โTutorialsโ and โDocumentationโ items:
- Add a regular navigation item with label โResourcesโ
- Add an item with label โ- Tutorialsโ
- Add an item with label โ- Documentationโ
This will create a dropdown menu where โTutorialsโ and โDocumentationโ appear when hovering over or clicking on โResourcesโ.
Separators
Moment allows you to add a separator between navigation items. This is useful to separate different sections of your navigation.
To add the separator, create a new item with label ---
and this item will be recognized as a separator.