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.

    BeforeAfter
    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.

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 our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2173
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5568

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

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!