Quickest Way to Change Magento 2 Menu Default – Magento 2 Mega Menu – Landofcoder

In this Blog, we will show you “The Quickest Way to Change Magento 2 Menu Default” – one of our wonderful series of Magento 2 Mega Menu – Landofcoder

Please 3 following steps:

  • Create File
  • Add Code .XML
  • Clear Cache

1. Create File :

app/design/THEME_VENDOR/THEME/Ves_Megamenu/layout/default.xml

2. Add Code .XML :

Add these below code into your file content & Change YOUR_MENU_ALIAS_HERE to a menu alias that you want to show

<?xml version=”1.0″?>
<page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”>
<body>
<referenceBlock name=”store.menu”>
<block class=”Ves\Megamenu\Block\Menu” name=”catalog.topnav” template=”Ves_Megamenu::topmenu.phtml” ttl=”3600″>
<arguments>
<argument name=”alias” xsi:type=”string”>YOUR_MENU_ALIAS_HERE</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>

When you’ve done this, you can clear cache:

3. Clear Cache when Completely Change Magento 2 Menu Default.

Then Clear Cache: System -> Cache Management -> Select All -> Submit

Congratulation! You’ve completely “Change The Default Menu Magento 2 Quickly”.

Magento 2 Mega Menu Tutorials

Some other extensions you maybe interested in

Related Posts

Nhu Quynh

Recent Posts

From Factory Floor to Online Store: How Manufacturers Can Leverage eCommerce to Boost Growth

Manufacturing is changing fast. Buyers want direct access to products, quick fulfillment, and reliable updates.…

4 hours ago

Top 10 Powerful Magento 2 Extensions to Maximize ROI in 2026

The eCommerce industry is competitive. Business owners need to explore all possible ways to enjoy…

4 days ago

7 Proven Salesforce DevOps Testing Tools Transforming the BFSI Industry

The Banking, Financial Services, and Insurance (BFSI) industry is highly regulated and generally operates in…

4 days ago

What Makes a Great Fintech App Development Partner in 2025?

Fintech is evolving at an incredible pace. What once took years to create is now…

4 days ago

Best Practices for Power BI Data Modeling: Clean, Fast, and Scalable

Every business these days is creating tons of data every day. Microsoft Power BI Consulting…

1 week ago

7 SEO Tips for Magento-Based Websites to Boost Performance

You’ve built your store on Magento—congratulations! Now it’s time to get more eyes on your…

1 week ago