5.8. Changing the Order of Navigation

Last updated on
11 January 2024

Goal

Reorder the items in a menu.

Site prerequisites

Home and About pages must exist in the main navigation menu. See Sección 5.7, “Adding a Page to the Navigation”.

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 Sección 4.1, “Concept: Administrative 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 Sección 2.7, “Concept: User Interface, Configuration, and Content translation” for an explanation.

    List of menus on the site with Main navigation highlighted

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

    List of menus items under Main navigation

  3. Drag the cross bar handles of menu items 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 items with lower or more negative weights will be shown first).

    Reordered menu items with warning message about unsaved changes and the Save button

  4. Click Save.
  5. The home page now displays the main navigation with the Home menu item displayed first.

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

Expand your understanding

Add a menu item 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 Sección 6.9, “Modificación de formularios de entrada de contenido”).

Videos

Changing the Order of Navigation

Attributions

Written by Ann Greazel.

 

This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.

Source file: menu-reorder.asciidoc

Help improve this page

Page status: No known problems

You can: