InMotion Hosting Support Center

Once you have created your menu, it is quite possible that you will add additional item links later and at some point, need to rearrange them. This is very easy to do within Drupal as it uses a weighting concept. Below is a quick guide on how to rearrange item links within your Drupal 8menus.

How to reassign the order of links in your Drupal 8 menu

  1. Log into your Drupal 8 admin interface.
  2. click on the Menu itemFrom the top menu select the Menu option.
  3. select the Structure optionA secondary menu will appear just under the first. From here, click on the Structure option.
  4. select menu from structure listFrom the Structure list, click on the Menu option.
  5. select desired menu to work withYou will see the memu listing page. From here, locare the menu you want to work with and select the Edit Menu link from the dropdown on the right side of the row.
  6. select menu from structure list We are now in the link list for the selected menu. There are two ways to change the order of the links. The first is to simply drag and drop them into the desired order by dragging the cross-shaped icon on the fer left.

    select menu from structure list

    The other way is to click on the Show row weights link on the right hand side of the row list. This will display a Weights column for each row. Set the number of this column to determine the display order. The higher the number, the 'heavier' the link will be, making it display lower in the list (for vertical menus) or more to the right (for horizontal menus).

select menu from structure listGiven our example, we set the Ipsum link to be the heavier of the two items, so it should display under the Lorem link. This is displayed in the finished product shot we have here.
Was this article helpful?
Continued Education in Course 104: Working with Menus in Drupal 8
You are viewing Section 4: Changing link order in Drupal 8 menus
Section 3: Assigning a menu to your pages in Drupal 8
Section 5: Deleting a custom menu in Drupal 8

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2016-03-23 1:25 am


Everything works fine until I clear the cache. After 'drush cr' I get the 'old' order of menu links. Updated to 8.0.5 today.

Best, Ingo

11,000 Points
2016-03-23 8:36 am
According to the Drupal documentation, there is also a 'drush rebuild' command. There is also a theme cache that may need to be cleared as well. The link I provided also suggests alternatives.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

2 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!