{"id":46750,"date":"2015-04-14T01:09:27","date_gmt":"2015-04-14T05:09:27","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=46750"},"modified":"2016-02-17T06:54:13","modified_gmt":"2016-02-17T11:54:13","slug":"opencart-2-x-how-to-assign-a-custom-link-to-logo","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/opencart-2-x-how-to-assign-a-custom-link-to-logo.html","title":{"rendered":"OpenCart 2.x. How to assign a custom link to logo"},"content":{"rendered":"<p><a href=\"http:\/\/www.youtube.com\/watch?v=zuGYgGA-fyo?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to assign a custom link to logo<\/a><\/p>\r\n<p>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.:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_1-300x130.png\" alt=\"opencart_how_to_assign_custom_link_to_logo_1\" width=\"300\" height=\"130\" class=\"aligncenter size-medium wp-image-46751\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_1-300x130.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_1-150x65.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_1.png 887w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Please navigate to <strong>catalog\/view\/theme\/themeXXX\/template\/common<\/strong> folder on your server.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Open <strong>header.tpl<\/strong> file for editing.<\/p>\r\n<\/li>\r\n<li>\r\n<p>You will need to locate the logo code line. In case you are currently using image logo, please look for the following:<\/p>\r\n<pre class=\"brush:php\">\r\n&lt;a href=\"&lt;?php echo $home; ?&gt;\"&gt;&lt;img src=\"&lt;?php echo $logo; ?&gt;\" title=\"&lt;?php echo $name; ?&gt;\" alt=\"&lt;?php echo $name; ?&gt;\" class=\"img-responsive\" \/&gt;&lt;\/a&gt;\r\n\t\t <\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_2-300x43.png\" alt=\"opencart_how_to_assign_custom_link_to_logo_2\" width=\"300\" height=\"43\" class=\"aligncenter size-medium wp-image-46752\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_2-300x43.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_2-150x21.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_2.png 896w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t <\/li>\r\n<li>\r\n<p>On this line you will need to change <em>&lt;?php echo $home; ?&gt;<\/em> to your custom link:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_3-300x53.png\" alt=\"opencart_how_to_assign_custom_link_to_logo_3\" width=\"300\" height=\"53\" class=\"aligncenter size-medium wp-image-46753\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_3-300x53.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_3-150x26.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_3.png 787w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Save changes when you are done.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Check the result on your website.<\/p>\r\n<\/li>\r\n<li>\r\n<p>In case you are currently using a text logo, you will need to look for the following line:<\/p>\r\n<pre class=\"brush:php\">\r\n&lt;h1&gt;&lt;a href=\"&lt;?php echo $home; ?&gt;\"&gt;&lt;?php echo $name; ?&gt;&lt;\/a&gt;&lt;\/h1&gt;\r\n\t\t <\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_4-300x61.png\" alt=\"opencart_how_to_assign_custom_link_to_logo_4\" width=\"300\" height=\"61\" class=\"aligncenter size-medium wp-image-46754\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_4-300x61.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_4-150x30.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_4.png 743w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>On this line you will need to change <em>&lt;?php echo $home; ?&gt;<\/em> to your custom link:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_5-300x56.png\" alt=\"opencart_how_to_assign_custom_link_to_logo_5\" width=\"300\" height=\"56\" class=\"aligncenter size-medium wp-image-46755\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_5-300x56.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_5-150x28.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_how_to_assign_custom_link_to_logo_5.png 734w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Save changes to file when you are done.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=zuGYgGA-fyo?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to assign a custom link to logo<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":56,"featured_media":46760,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1156],"tags":[789,521,525,1157],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46750"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=46750"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46750\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/46760"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=46750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=46750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=46750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}