Web Analytics

Fill the form & Get Installation Support





    Magento 2 add custom menu after all top menu in navigation

    We have two choices for achieving this functionality.

    One option is to directly add in topmenu.phtml by overriding a file in your theme. There are chances that it won’t work if you have a third party mega menu extension.

    Another way is by using the plugin, Here we are going to talk about the same.

    We can achieve our requirement by executing two steps:

    First, you need to create di.xml in your custom module.

    Now you have to create a plugin file in your custom module

    After executing both steps, run below command:

    Now you can check your navigation menu. Your custom menu is added after all top menus.

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Hire B. Darji

      Get a Free Quote





        Connect With Us