Site Building

5.6. Adding a Page to the Navigation for Drupal 8, 9, and 10

Goal

Add a page to the navigation. For example, the About page.

Site prerequisites

The About page content item must exist. See Section 5.2, “Creating a Content Item”.

Steps

Sprout Video
  1. In the Manage administrative menu, navigate to Content (admin/content).
  2. Find the About page, and click Edit in that row. The content editing form appears.

    Image
    Page edit link

  3. Click Menu settings on the right to expand it.
  4. Check Provide a menu link for the menu options to appear.
  5. Enter values from the table below:

    Field name Explanation Example value

    Menu link title

    Title that will be displayed in the menu

    About

    Description

    Text that will be displayed when a visitor hovers over the link

    History of the market

    Parent link

    Location of the page in the menu hierarchy. For example, if you choose <Main navigation>, the page will appear in the highest level of the navigation. By choosing another menu link as parent, you can create a menu hierarchy of multiple levels.

    <Main navigation>

    Weight

    The order in which the page should appear in the menu (lower-weighted menu links will be shown before higher-weighted menu links)

    -2

    Image
    Creating a menu link from within the content edit form

  6. Click Save to save the changes. Click Home or Return to site in the navigation bar to see the result, which could look like the picture below.

    Image
    Link has been added to the main menu

Additional resources

Drupal.org community documentation page "Adding a link to a menu"

Attributions

Adapted by Boris Doesborg from "Adding a link to a menu", copyright 2000-2024 by the individual contributors to the Drupal Community Documentation; edited by Jack Haas.