Aldrich: Primary navigation
The primary navigation (located at /_site/primary-nav) contains links and dropdown menus that allow visitors to browse through the main sections of your site.
Although the existence of the primary-nav asset in Cascade is required, displaying a primary nav on your site is optional. For small, simple sites, a primary navigation may be unnecessary.
Changes made to the primary navigation can be made live by simply publishing the primary-nav asset. No need to republish your entire site.
Nav items
Each link or dropdown toggle that appears in the primary navigation is a Nav item.
Displaying nav items
Selection | What this means | What this triggers |
---|---|---|
Yes | A primary navigation will be displayed on your site. | Causes the Nav item Data Definition group to display. |
No | A primary navigation will not be used on your site | N/A |
Choosing nav item type
Selection | What this means | What this triggers |
---|---|---|
Link | A link will be added to the primary navigation. | Causes the Link Data Definition group to display. |
Dropdown menu | A dropdown menu will be added to the primary navigation. | Causes the Dropdown menu Data Definition group to display. |
Links
Links are defined using the Text link pattern.
→ Details: Text link pattern
Dropdown menus
Dropdown menus consist of a label (i.e., the text that is displayed on the dropdown toggle) and one or more link groups, which display as columns when the menu is expanded.
Labelling the menu
The dropdown label is defined by the Text pattern.
→ Details: Text pattern
Link groups
Link groups display as columns…
…and can include an optional heading.
You can add as many link groups as you need.
→ Details: Proliferating Data Definition items
Adding a link group heading
Selection | What this means | What this triggers |
---|---|---|
Yes | A heading will be displayed above the link group. | Causes the Heading Data Definition group to display. |
No | A heading will not be displayed above the link group. | N/A |
Heading > Text
Enter the text for the group heading in the Text Data Definition field.
Adding links
Links are defined by the Text link pattern.
→ Details: Text link pattern