How to Add a Link to the Top Menu in Magento 2?

Today, we’re going to teach you guys how to add a link to the top menu in your Magento 2 store.

Adding a custom link to the top menu in a Magento 2 store is undoubtedly a complex task. But what’s more, it also requires advanced programming skills.

However, you can also add a custom link to the top menu of your Magento 2 store by integrating the Magento 2 Mega Menu Extension.

But in this post, we will teach you exactly how to add a link to the top menu in your Magento 2 store via Mega Menu Extension.

Step-by-Step Process to Add a Link to the Top Menu in a Magento 2 Store

Please follow the following steps to learn how to add a link to the top menu of your Magento 2 store.

Step - 1

First of all, log in to your admin panel and navigate to Content > MD Mega Menu > Custom Menu Items.

Step - 2

After that, click on the Add New Custom Item button and do the following:

  • Write a title for your new custom link in the Title field.
  • Select a URL Key from the URL Key dropdown field.
  • Specify a URL of your choice in the Internal URL field.
  • Select “Enable for Both Desktop and Mobile” in the Status field.
  • Select “Full Width” in the Submenu Width field.
  • Write a name for your link in the Menu Label Text field.
  • Select the background color of your choice in the Label Background Color (hex) field.
  • Select a color for your link label text in the Label Text Color (hex) field.

Step - 3

Once everything is done, click on the Save Config button to finish the process.

Conclusion

And there you go!

This is the most simple way to add a custom link to the top menu in your Magento 2 store.

And if you need our professional assistance, feel free to contact us anytime.