...
To modify the contents of the primary navigation, locate and edit:Base Folder/inc/nav-primary
Below are the editable elements of the primary navigation used to add items to the primary nav. You will need to publish the navigation for changes to take effect.
Datadef element | Description |
---|---|
Nav widget | This option adds extra content to the right side of the navigation bar. Available options are:
|
Nav item | This represents a single item in the navigation. You can add and remove instances of this field group using the + and - toggles. |
Nav item > Item type | Defines the characteristics of the nav item.
|
Nav item types
Below are the available primary nav item types, selectable via the 'Item type' datadef element (see above).
Link
Setting 'Item type' to 'link' adds a simple link to the primary nav and reveals the following datadef elements:
Datadef element | Description |
---|---|
Nav item > Link | Only appears if 'Item type' is set to 'link'. Refer to 'Working with links'. |
Dropdown
Setting 'Item type' to 'Dropdown' adds a dropdown menu to the primary nav and reveals the following datadef elements:
Datadef element | Description |
---|---|
Nav item > Text | Required. Defines the text label for the nav item dropdown toggle. |
Nav item > Set internationalization | Refer to 'Internationalization '. |
Nav item > Dropdown > Dropdown item | Represents an item in the dropdown menu. |