Back to Support Content and Media Blocks Navigation Block

Navigation Block

The Navigation block displays a menu of links to help your visitors navigate your website. This guide will show you how to create, modify, and style your menu using the Navigation block.

Add a Navigation Block

Usually, a Navigation block is added to a site’s templates, most commonly through the Header or Footer template part. Follow the steps below to add the Navigation block to your site’s templates:

  1. Visit your site’s dashboard.
  2. Navigate to Appearance → Editor.
  3. Select the Template or Template Part you want the navigation menu to appear.
  4. Click the + Block Inserter icon.
  5. Use the search field in the block inserter to search for “navigation”
  6. Click the Navigation block to add the block to your site.

When you first add the Navigation block and don’t have an existing menu, it will contain the Page List block. By default, the Page List block displays all your site’s published pages, and new pages are added automatically.

Customize Your Navigation Block

If you want to customize which pages (or posts, categories, or custom links) display in your menu, follow these steps:

  1. Click the Page List block in the Editor or use the List View icon to navigate to the Page List block.
  2. Click the Edit button in the toolbar above the Page List block.
  3. Confirm that you want to edit the page list by clicking the “Edit” button.

When you follow those steps, the Page List block will convert to individual Page Link blocks, and you can add other elements like buttons, custom links, categories, tags, submenus, and more.

Slow down or speed up the video using the controls in the lower right corner after clicking Play

For more information, visit our detailed instructions on adding blocks.

Add Navigation Menu Items

Once you have added a Navigation block and turned your Navigation menu into a customizable list, you can add site pages, posts, category pages, buttons, and more to your navigation. To add a navigation menu item to an existing navigation menu, follow these steps:

  1. Visit your site’s dashboard.
  2. Navigate to Appearance → Editor.
  3. Click the Navigation menu item and click the navigation menu you want to edit.
    • If you’re unsure which menu you’re using, you can go back to Templates and edit the navigation menu directly in the Template Editor.
  4. Click the Navigation block in the Editor or use the List View icon to navigate to the Navigation block.
  5. Click the + (Plus) icon to add an item to your menu.
  6. Search for the name of a published Page or Post, type the exact URL for a custom link, or click the “+ Add block” option to add things like Search, Buttons, or Social Icons.
The menu that appears after clicking the plus icon to add a link to the navigation block.

You can click the “Browse All” option in “+ Add block” to browse all the blocks you can add to your navigation menu, including:

View our dedicated guides to learn how to:

When you click on the block, a toolbar of options will appear above it:

The Navigation block has the following options in its toolbar:

Each individual link in the Navigation block also has a toolbar above it:

The toolbar that appears for a single link within the Navigation block with options to select the parent block, change the type of link and more.

If you do not see the sidebar on the right, click the Settings icon in the top right corner to bring up the settings. This icon looks like a square with two uneven columns:

The settings icon in the top right corner

The Navigation block settings contain three tabs:

  • List View
  • Settings
  • Styles

These settings are described below.

The description of the Navigation block as "a collection of blocks that allow visitors to get around your site."

Use the list view to control the items in the menu. You can:

Click the three dots to select a different menu for the Navigation block or create a new menu.

If you have classic menus, you can import them here. Classic menus will display “Classic menu:” before the menu’s name.

The Navigation block sidebar settings with the option to add items to the menu or select a different menu.

Block Settings

Click on the cog/gear icon to access additional settings for the Navigation block.

Layout

Choose the justification between the menu links, from justify left, center, right, or evenly spaced between the items.

Set the menu’s orientation. Choose between horizontal (the default) and vertical menu orientation.

Turn “Allow to wrap multiple lines” off to display the navigation on a single line.

Display

Control how the navigation displays on mobile or all devices. Click the gray box to reveal the following settings:

  • Show icon button: Toggle on to show the universally recognized “hamburger” icon of horizontal lines. Toggle off to display the word “Menu” instead.
  • Icon: Choose between two or three lines for the icon.
  • Overlay Menu collapses the navigation into a menu icon that opens as an overlay when tapped/clicked. Select between Off, Mobile (default), or Always.

If you have created submenus, you will have these additional options:

  • Open on click: The submenu dropdown opens only when you click it. If this option is turned off, the dropdown will open when you hover on the menu item with the submenus.
  • Show arrow: Choose whether to display an arrow indicating a submenu exists. The actual icons used are determined by your theme.
The block settings sidebar with an arrow pointing to the Settings icon, providing the Layout and Display options for the Navigation block.

Advanced

Change the name of the current menu used when editing your site (the name is not public.) Click the “Delete menu” button to erase the menu from your available menu list. Click the “Manage menus” link to access all of your existing menus.

Learn more about Advanced Block Settings.

The advanced section of the block settings sidebar with the option to add a CSS class, change the menu name, delete the menu, or manage all menus.

In the block settings sidebar, click on the Styles icon to access the design settings for the block. The Styles icon is in the shape of a circle with half of the circle filled in:

An arrow points to the Styles icon that you can click to open up the block styles section.

Adjust your menu’s appearance with the following settings:

Learn more on how to customize the menu design.

Each individual link within the Navigation block has additional customization options. Click on a link you want to customize to view the Link Settings in the sidebar.

Label

The label is the text that appears in the navigation menu.

URL

The URL is the link or page the menu item leads your visitor to.

Description

If you use a theme supporting link descriptions, the text added here will appear in the menu.

Title Attribute

A tooltip that appears when a visitor hovers over a link. It is also useful for screen readers.

Rel Attribute

This tells the browser the relationship between the page the visitor is on and the link they’re clicking. This is helpful if you want to include nofollow so that search engines don’t index or give ranking credit to the link.

The individual link settings in the Block settings sidebar, with the option to set the Label, URL, Description and Title Attribute.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!