Skip to main content

Main Navigation

The Main Navigation menu sits just above the content of each page and is the most prominent menu on your webpage. Using this menu, visitors can move between pages on your website. 


How To Add a Page to the Main Navigation

Menu dropdown
  1. Create a page or edit an existing one.
  2. Select Edit > Menu settings > Provide a menu link.
  3. Enter Menu Link Title.
  4. Leave Parent Link as <Main Navigation> for the link to be displayed directly on the menu bar. For the example below, the parent link of all visible links is <Main Navigation>.
  5. If you would like the page to be nested under a page link already on the Main Navigation, select the name of the link from the Parent Link dropdown.
    • The deeper a link is nested in the menu will be indicated by the number of dashes preceding the link name. In this example, the pages Utility Links, Reorder Menus, and Adding Menus have been placed under the Managing menus link.
  6. Save.

AZ Navbar

The AZ Navbar component features updated styling and support for three levels of navigation. This component was initially introduced as an optional upgrade in AZQS 3.2.0 sites and it is now the standard navbar experience for Arizona Quickstart 3.

Enable third-level menu display

To enable styling for any third-level navigation items present in the Main navigation hierarchy:

  1. Navigate to the Block layout settings at Structure > Block layout.
  2. Locate the Main navigation block in the Navigation bar region and select Configure.
  3. In Menu levels, adjust the Number of levels to display from 2 to 3.
  4. Save block settings at the bottom of the page.
Image

Things to keep in mind when using AZ Navbar

The AZ Navbar supports Single Dropdowns and Split Dropdowns at the primary navigation level. Previously, with the former navbar, only Single Dropdowns were supported (see Menu Folders section on the Managing Menus page).

  • To upgrade a Single Dropdown to a Split Dropdown, change an existing <nolink> to a valid page path.
  • Common Use Case: Because the former navbar did not support linking to an actual page and a submenu simultaneously at the primary level, you will often find an "Overview" style page as the first child in the secondary-level dropdown. These pages are typically good candidates to promote to the primary level when converting a Single Dropdown to a Split Dropdown.

Depending on your site architecture, you may already have tertiary navigation elements in the Main navigation menu. If enabling third-level navigation styles, be sure to verify that the items are displaying correctly in the respective secondary-level dropdown menus. These were previously ignored by Drupal.

  • Common Use Case: The former navbar did not display anything beyond the second level. The sidebar menu, however, may display items beyond the second level. When enabling styling for the third navigation level, be sure to verify that your sidebar menu and main menu are displaying the appropriate items.

History of the AZ Navbar upgrade in Quickstart

  • AZQS 3.2.0: AZ Navbar was introduced as an optional upgrade.
  • AZQS 3.3.0: AZ Navbar was made the default navbar style for new AZQS sites.
  • AZQS 3.4.0: Existing AZQS 3 sites were upgraded to use AZ Navbar. The former navbar implementation was deprecated with this release. The default depth of the Main navigation block was also adjusted from 2 to 3 to support this upgrade.
  • AZQS 3.6.0: The option to disable AZ Navbar was removed. The former navbar implementation was removed as well.