InMotion Hosting Support Center

When working with Drupal 8, there are some menu categories that cannot be deleted, such as the Main and Secondary menus. These can, however, be disabled and thus not appear on your site if you so choose. Follow the instructions below to learn how to disable these menus in Drupal 8.

How to disable main and secondary menus in Drupal 8

  1. Log into your Drupal 8 administrative dashboard.
  2. click on the Menu itemSelect Menu from the top menu bar.
  3. select the Appearance optionNext, click on Appearance from the secondary menu that appears.
  4. select menu from structure listYou are now taken to the main Appearance screen. This is a list of avaialble themes. Look to the upper right corner of the screen and you will see a Settings tab. Click on the Settings tab to continue.
  5. select menu from structure listThis brings you to the Appearance settings page. Note that the main page is Global settings, so adjusting settings here affects all themes. If you wish to adjust these settings for any individual themes, you will need to select them in the upper right corner.

    Once you are in the correct place (global or specific theme) locate the Toggle Display settings. To the bottom of the section are checkboxes for both Main Menu and Secondary Menu. Uncheck the box next to the menu which you wish to disable (or check it to enable it). Once complete, click on the Save Configuration button to save the changes.

    The before and after shots below demonstrate the disabling of the Main Menu.

    select menu from structure listselect menu from structure list

Currently, it appears that once you toggle the main/secondary menus via the specific Theme settings, the Global Settings will no longer toggle the menus.

Was this article helpful?
Continued Education in Course 104: Working with Menus in Drupal 8
You are viewing Section 6: Disabling main and secondary menus 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

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!