Categories

Featured templates

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

Roger Cunningham July 26, 2016
Rating: 5.0/5. From 3 votes.
Please wait...

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:

    
    		
    magento_how_to_add_home_link_to_magento_top_menu
  6. Update the file and re-upload it back to server;

    magento_how_to_add_home_link_to_magento_top_menu2

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
Premium Magento Themes
This entry was posted in Magento Tutorials and tagged home, Magento, menu. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket