Magento Tutorials

[Solved] Top navigation menu not showing up on Magento 2 frontend

Top menu not showing in Magento 2 and how to fix it

The main menu of your store is a directory to the different departments in your store. One of the most common issue with the main menu is its product categories not showing on the frontend after they were added in the admin panel. This problem mostly occurs when the categories not added as sub-categories of the Default Root Category or the Magento store configuration has no default category set. The best solution to this is to add new and specify the root category and make all product categories its sub-categories. In Magento 2, you can quickly do that by following these steps:

Step 1: Add new root category

  1. From the Admin sidebar, choose Product > Categories.
  2. Click Add Root Category.
  3. On the General Information tab:
    • Name your Root Category (root-Site name) in the Name box.
    • Maka sure the Is Active box is changed into Yes.
    • Make sure the Include in Navigation Menu is changed into Yes.
  4. Click Save Category.
Top navigation menu not showing up on Magento 2 Frontend (solved)

Step 2: Add a subcategory of the new root category

  1. Select the newly created Category.
  2. With the new Root Category, click Add SubCategory.
  3. Make sure the Name is entered in the Name box; Is Active is change into Yes and Included on the Nav Menu is changed into Yes.
  4. Click Save Category.
Top navigation menu not showing up on Magento 2 Frontend (solved)

Step 3: Choose the new Root Category

  1. From the Admin side bar, navigate to Stores > All Stores.
  2. Click on the Main Menu Store link on the second column and explore the content.
  3. In the section of Root Category, click to drop down the list of all Category and choose the new Root Category created earlier (root- Sitename).
  4. Click Save Store
Top navigation menu not showing up on Magento 2 Frontend (solved)

Any new categories you have just created should appear on the Navigation menu now. If it’s not working, make sure you refresh all cache by going to System > Cache Management and click Flush Magento Cache.

Top navigation menu not showing up on Magento 2 Frontend (solved)

Magento 2 Mega Menu

$35,00 $79,00

Related posts:
How to set up main menu for your store in Magento 2
Add a Custom Link to Magento 2 Admin Menu