Categories

Featured templates

OpenCart 2.x. How to assign a custom link to logo

Carey Burns April 14, 2015
Rating: 5.0. From 1 vote.
Please wait...

OpenCart 2.x. How to assign a custom link to logo

Our Support team is ready to present you a new tutorial that shows how to assign a custom link to your website logo in Opencart 2.x.:

opencart_how_to_assign_custom_link_to_logo_1

  1. Please navigate to catalog/view/theme/themeXXX/template/common folder on your server.

  2. Open header.tpl file for editing.

  3. You will need to locate the logo code line. In case you are currently using image logo, please look for the following:

    <a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" class="img-responsive" /></a>
    		 

    opencart_how_to_assign_custom_link_to_logo_2

  4. On this line you will need to change <?php echo $home; ?> to your custom link:

    opencart_how_to_assign_custom_link_to_logo_3

  5. Save changes when you are done.

  6. Check the result on your website.

  7. In case you are currently using a text logo, you will need to look for the following line:

    <h1><a href="<?php echo $home; ?>"><?php echo $name; ?></a></h1>
    		 

    opencart_how_to_assign_custom_link_to_logo_4

  8. On this line you will need to change <?php echo $home; ?> to your custom link:

    opencart_how_to_assign_custom_link_to_logo_5

  9. Save changes to file when you are done.

Feel free to check the detailed video tutorial below:

OpenCart 2.x. How to assign a custom link to logo

Top OpenCart Themes
This entry was posted in OpenCart Tutorials and tagged custom, link, logo, opencart. 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

Live Chat
We help you to choose the right product.