Magento 2 navigation menu: How to edit its default and fix it when is not showing in your Magento store

The navigation menu plays an important part in the customer funnel effectiveness, but many commerce websites do not have enough filtering types, attractive design, and clear logic. Thus, you’d better learn how to deal with it even before creating a broad category system in your Magento 2. In this article, we will look into how to edit defaults of Magento 2 navigation menu and fix them.

Why is Magento 2 menu not showing and how to fix it?

The issue occurs when you change the Root category: if you change the default category or create new Root category, the Navigation won’t recognize it without additional settings.

Step 1: add a Root Category

  • Firstly, log in to the Admin Panel;
  • Secondly, navigate to Product>Category and choose the ‘Add Root Category’ option:
add a Root Category
  • Thirdly, give it a name and make sure the triggers above are switched to ‘Yes’.
  • Finally, click the ‘Save’ button.

Step 2: create a subcategory of the new Root Category

  • Firstly, choose the just-out category (we have named it: example) and choose the ‘Add Subcategory’ option:
Magento 2 navigation menu
  • Secondly, make sure the name is given, the triggers are set to ‘Yes’ and the ‘Included on the Nav Menu’ is changed to ‘Yes’;
  • Thirdly, don’t forget to save the subcategory.

Step 3: choose the new Root Category

  • Next, to fix that Magento 2 menu is not showing, return to the main sidebar, choose Stores>All Stores, select the Main Website Store option and look through the content:
Magento navigation menu
  • Choose the Root Category drop-down menu and click the category you’ve just created:
navigation menu magento 2
  • Then, click the ‘Save Store’ button.

All the newly-created Magento 2 categories that was not showing will appear on the top navigation menu.

CHECK OUT Magento 2 Mega Menu to create the best navigation menu for your website.

How to edit the default Magento 2 navigation menu?

Default Magento has built-in layered navigation. It allows you to set filters by any product attribute, such as category or price. Let’s look into the matter.

Edit the top navigation in Magento 2

The top menu of your Magento 2 website represents the structure of the catalog. To clarify, it can have up to 4 levels of nesting:

LEVEL 1

The 1st level is the default category. Its name doesn’t appear in the menu.

LEVEL 2

The 2nd level is the main menu displayed on the frontend. In the default Luma theme, this level includes categories like “What’s New”, “Women”, “Men”, “Gear”, “Training”, and “Sale”.

LEVEL 3

At the 3rd level, you can split the main categories into several sections. For example, household appliances can include washing machines and dishwashers.

LEVEL 4

The 4th level gives even narrower subcategories. For example, washing machines can be segmented by brands.

To configure the depth of your top menu, follow these steps:

1. Firstly, log in to the admin panel and navigate to Stores > Settings > Configuration.

2. Secondly, in the Catalog tab, choose Catalog and go to the Category Top Navigation section.

3. Thirdly, in the Maximal Depth field, enter the number of subcategories that you want to show in the top navigation.

4. Finally, save the changes.

Need help with Magento development services? Let’s ArrowHiTech help you!

If you’re considering Magento customization and development services as well, you can explore more about us – ArrowHiTech. Above all, we are proud to be official partner of Magento. In addition, with over 12 years of experience, we can provide the best Magento development services for your eCommerce business at several levels .

AHT
ArrowHiTech services

So, if you have any questions, don’t hesitate to contact us via:Contact us now

Tags

Share