Skip to content
Snippets Groups Projects

Changing the Order of Navigation

How to reorder links in a menu.

Goal

Reorder the links in a menu.

Prerequisite knowledge

Site prerequisites

Home and About pages must exist in the main navigation menu. See [menu-link-from-content].

Steps

  1. In the Manage administrative menu, navigate to Structure > Menus (admin/structure/menu) where all menus on your site are listed. Click Edit Menu from the Operations dropdown for Main navigation. You can also reach this page using contextual links (refer to [config-overview]) for the menu. Note that the names and descriptions of the menus that were provided by your installation profile are shown in English on this page; see [language-concept] for an explanation.

    List of menus on the site with 'Main navigation' highlighted

  2. The Edit menu page will display a list of each link in the menu you chose (Main navigation).

    List of menu links under <em>Main navigation</em>

  3. Drag the cross bar handles of menu links to change their order: Home, then About. As an alternative to dragging, you can click the Show row weights link at the top of the table and select numerical weights (menu links with lower or more negative weights will be shown first).

    Reordered menu links with warning message about unsaved changes and the <em>Save</em> button

  4. Click Save.

  5. The home page now displays the main navigation with the Home menu link displayed first.

    Reordered menu links on the home page with 'Home' first and then 'About'

Expand your understanding

Add a menu link called Contact, leading to the /contact page, to your Main navigation menu. The contact page is provided by the core Contact module; you may want to edit its layout and fields (see [structure-form-editing]).

Videos

Changing the Order of Navigation
Your browser does not support the video tag.

Attributions

Written by Ann Greazel.