When creating content in Drupal 7, whether it is an Article, a Basic Page, or other type of content, you have the ability to set the 'weight' of the menu item. This weight helps determine the location of the content in the menu list. The menu goes from the lowest number to the highest and orders them from left to right, or top to bottom, depending on the menu.

When you initially create content you may not always know where you want the item in your menu lineup or you may end up with more than one with the same weight. Drupal 7 gives the ability to set the weight for all links in a menu at once, enabling you to get a better hold on your menu configuration. Rarranging menu items in Drupal 7 is a breeze, simply follow the instructions below.

Modifying the order of menu items in Drupal 7:

  1. Log into your Drupal 7 admin dashboard.
  2. From the top menu bar, find and click on the Structure link.
    structure
  3. You are now on the Structure main menu. Find and click on the Menus link.
    _menus-link
  4. From the list of menus, select the menu you want to work on. Find the List Links link for that menu and click it. For this example, I chose the Main Menu.
    menu-list-links
  5. This page lists details for each link. The Weight dropdown is the field we want to work with. There is a range from -19 to 19, with 0 being the middle setting. By default, menu links are set to 0, so if you did not set a weight when creating the link, there may be several 0 weighted links. Any links that have the same setting are then ordered alphabetically for that weight setting. Once you have set your weights, click on the Save Configuration button at the bottom of the page.
    menu-list-weight
    Visit your page to view the new order of your menu links. Below is a before and after of how our links were set up. In the Before photo, all links were set to weight 0 and simply ordered alphabetically. The After photo shows the new lineup based on the weights we gave them.
    Before After
    menu-arrange-before menu-arrange-after
Continued Education in Course 105: Working with Menus in Drupal 7
You are viewing Section 5: Rearranging menu links in Drupal 7
Section 4: Enabling your custom menu in Drupal 7
Section 6: How to delete a menu in Drupal 7
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

n/a Points
2014-07-09 3:36 am

Great article. Solved my problem.Thanks.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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?

Search

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: support@InMotionHosting.com
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!