InMotion Hosting Support Center

After creating and adding links to your custom menu, you will want to place it somewhere on your site. This is done by assigning the menu block to a specific block region for the theme you are using. Follow the instructions below as we guide you through the basic process within Drupal 8.

How to assign a menu to your webpage

  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 block layout from the Structure listThe main Structure list will be displayed. From here click on the Block Layout option.
  5. This page is the Block Layout page, where you will assign the menu block to the desired block region. Note that this will need to be done for each theme as every theme has its own block region layout. The theme in this example is the Bartik theme,one of the default themes in Drupal 8. To locate your menu, look to the right hand sidebar and click on the Menu option to expand the list below. From there, click on the menu you want to assign, in our example, it is the Test-Menu.
  6. Place block page - settings to tailor where and when the menu block displaysThe block placement settings appear for you to customize where and how to place the block within the theme.
    TitleThe title of the block
    Display TitleCheck in order to display the title for the block on the page.
    RegionSelect the block region where the menu will display on the website. In the example, we selected Sidebar first.
    Visibility SettingsThese settings are used to allow you to limit when the block is displayed, either by specific pages,content types, or users.
  7. display of the newly added block in the layout listing

    Once you have tailored your settings, click on the Save Block button to save the block's new configuration. You will be taken back to the Block Layout page where you will see the menu block located under your selected block region.

    Now you may visit your site and see the new menu. Our example here shows the new menu in the left hand sidebar.

Was this article helpful?
Continued Education in Course 104: Working with Menus in Drupal 8
You are viewing Section 3: Assigning a menu to your pages in Drupal 8
Section 2: How to add items to your menus in Drupal 8
Section 4: Changing link order in Drupal 8 menus

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

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

Post a Comment

Email Address:
Phone Number:

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

0 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!