cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit submenu

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

How to edit submenu

Hi,

 

right now I am trying to edit a submenu in M2, such as add a link to the submenu or add something else. So the menu that popups after hovering over the main categories.

 

I can't find the .phtml/template file for it.

 

Can someone help?

 

Thanks

Yuan 

 

3 REPLIES 3

Re: How to edit submenu

Hi @steelvintage 

 

I understand the problem you are facing.

 

The sub-menu which you are talking about it is mainly a sub-category which is placed under the main category from the Magento admin panel.

 

Customizing is the menu is a very common task and previously asked by other users as well.

 

So following i am sharing the link which helps you to customize the Magento 2 Main Menu.

 

https://community.magento.com/t5/Magento-2-x-Programming/How-can-I-edit-top-navigation-menu/td-p/952... 

 

https://zemez.io/magento/support/how-to/magento-2-customize-main-menu/ 

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: How to edit submenu

Hi,

 

thanks for your answer, but I was rather trying to find the location of the template file to edit the submenu. I know the topmenu.phtml is not what i am looking for.

 

Any idea?

 

Thanks

Yuan

Re: How to edit submenu

Hi @steelvintage,

You need to follow below listed steps with Magento default theme:


1. Login with admin 
2. Content(sidebar menu) >

3. Menus >

4. Edit Menus >

5. Manage you sub menu (add/remove)

Screenshot from 2020-02-03 12-02-15.png

 

and if you are using any custom theme and pulgin like- You are using VENUSTHEME then you need to fallow below listed steps: 

 

1. Login with admin 
2. VENUSTHEME(sidebar menu) >

3. Manage Menus >

4. Edit Menus >
5. Menu editor > 

6. Manage you sub menu (add/remove)

custom-theme.png