{"id":45710,"date":"2015-04-06T00:34:02","date_gmt":"2015-04-06T04:34:02","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=45710"},"modified":"2016-02-17T08:35:46","modified_gmt":"2016-02-17T13:35:46","slug":"opencart-2-x-how-to-change-phone-number-and-icon-in-header","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/opencart-2-x-how-to-change-phone-number-and-icon-in-header.html","title":{"rendered":"OpenCart 2.x. How to change phone number and icon in header"},"content":{"rendered":"<p><br \/>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=1mDwDiVmYUE?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to change phone number and icon in header<\/a><\/p>\r\n<p>This tutorial will show you how to edit phone icon and phone number in header of Opencart template:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header.1.jpg.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header.1.jpg-300x132.jpg\" alt=\"OpenCart. How to change phone number and icon in header.1.jpg\" width=\"300\" height=\"132\" class=\"aligncenter size-medium wp-image-45711\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header.1.jpg-300x132.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header.1.jpg-150x66.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header.1.jpg.jpg 651w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Let&#8217;s change phone number first. Go to <strong>System -> Settings -> Edit -> &#8216;General&#8217;<\/strong> tab and edit <strong>Telephone<\/strong> field:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header2.jpg.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header2.jpg-300x91.jpg\" alt=\"OpenCart. How to change phone number and icon in header2.jpg\" width=\"300\" height=\"91\" class=\"aligncenter size-medium wp-image-45712\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header2.jpg-300x91.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header2.jpg-150x45.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header2.jpg.jpg 677w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Now let&#8217;s change the phone icon. Inspect the icon using the Firebug developer tool and check its class, you&#8217;ll need to change it in template files. In our case the icon class is &#8216;fa fa-phone&#8217;. You can find information on how to use Firebug plugin here: <a target='_blank' href='\/help\/firebug-mozilla-firefox-plugin.html'>Firebug. Mozilla Firefox plugin<\/a>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header3.jpg.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header3.jpg-300x143.jpg\" alt=\"OpenCart. How to change phone number and icon in header3.jpg\" width=\"300\" height=\"143\" class=\"aligncenter size-medium wp-image-45713\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header3.jpg-300x143.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header3.jpg-150x71.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header3.jpg.jpg 907w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Now go to the installation root of your site and open<strong>catalog\/view\/theme\/themeXXX\/template\/common\/header.tpl<\/strong> file:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header4.jpg.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header4.jpg-300x72.jpg\" alt=\"OpenCart. How to change phone number and icon in header4.jpg\" width=\"300\" height=\"72\" class=\"aligncenter size-medium wp-image-45714\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header4.jpg-300x72.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header4.jpg-150x36.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header4.jpg.jpg 608w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Copy the class name and look for this code using <strong>CTRL+F<\/strong> combination:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header5.jpg.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header5.jpg-300x33.jpg\" alt=\"OpenCart. How to change phone number and icon in header5.jpg\" width=\"300\" height=\"33\" class=\"aligncenter size-medium wp-image-45715\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header5.jpg-300x33.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header5.jpg-150x16.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header5.jpg.jpg 1012w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Open the <a target='_blank' href='http:\/\/fortawesome.github.io\/Font-Awesome\/icons\/'>Font-Awesome-icons<\/a> page, there you will see a list of icons. Click on any of them and to see its class name:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header6.jpg.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header6.jpg-300x127.jpg\" alt=\"OpenCart. How to change phone number and icon in header6.jpg\" width=\"300\" height=\"127\" class=\"aligncenter size-medium wp-image-45716\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header6.jpg-300x127.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header6.jpg-150x63.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/OpenCart.-How-to-change-phone-number-and-icon-in-header6.jpg.jpg 818w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Just copy the class name and replace the original class name with it.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>This is the end of the tutorial. Now you know how to change phone number and icon in header.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=1mDwDiVmYUE?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to change phone number and icon in header<\/a><br \/>\r\n<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to edit phone icon and phone number in header of Opencart template.<\/p>\n","protected":false},"author":61,"featured_media":45808,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1156],"tags":[627,674,668,1157,1207],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/45710"}],"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\/61"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=45710"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/45710\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/45808"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=45710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=45710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=45710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}