If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)


Featured templates

Magento. How to add “Home” link to Magento top menu

The following guide will refer to top menu links management in Magento themes, specifically it is going to show what should be done to add a ‘Home’ link to the main menu.

  1. First it would be necessary to log into the cPanel file manager or FTP;

  2. The file can be both edited either directly on server using the file manager in-built editor or downloaded and edited locally with an editor;

  3. It is always highly recommended to keep the original file prior to applying any changes;

  4. Following the app/design/frontend/tm_themes/themeXXX/template/page/html path, open the header.phtml file to edit it;

  5. At the bottom of the file, around lines 98-99, right after the main header nav ID, add the following piece of code:

    <a href="<?php echo $this->getUrl('') ?>" class="link_home"><span class="fa fa-home"></span></a>
  6. Update the file and re-upload it back to server;


It’s recommended to clear Magento cache after this has been done.

Note: some minor CSS tweaks might be required to give new link a position relative to the main navigation menu.

Feel free to check the detailed video tutorial below:

Magento. How to add “Home” link to Magento top menu
Live Chat
We help you to choose the right product.
Start chat