Post by mrjave » Sun Sep 02, 2012 11:38 am

Good day Open Cart Community,

I am using V1.5.3.1.
from the admin, we can set the icon for the browse to display on our site tab(16x16 pixel).

i have set my own and it is showing on Google Chorme browser but the IE browser is still showing the IE Icon instead of the one i set.

any advice on this?

thank you.

kind regards,
Jave

Active Member

Posts

Joined
Wed Jun 13, 2012 4:22 pm

Post by hashashino » Tue Dec 11, 2012 12:20 am

Hi there,

In order to set IE icon there, you must do the following:
Convert your favicon.png to favicon.ico.
You can use http://www.favicon.cc/ to convert your .png image to .ico
Put the favico in your image/ folder
Once that is done you will need to add the following line to:
Browse: //yoursite/catalog/template/theme/default/template/common/header.tpl
*default is the theme for this e.g, it vary in accordance to your theme
Add the following lines(I add it the line after <title></title>) :
<?php echo "<link rel=\"icon\" href=\"image/favicon.ico\" type=\"image/x-icon\">";?>
<?php echo "<link rel=\"shortcut icon\" href=\"image/favicon.ico\" type=\"image/x-icon\">";?>

And you are done.

Newbie

Posts

Joined
Tue Dec 11, 2012 12:02 am

Post by stokeyblokey » Sat Aug 31, 2013 10:22 pm

I know this is a very late reply, but thank you hashashino for giving me these lines of code to get the favicon working in Opencart as well as on my HTTP pages :)

Stokey


User avatar
Active Member

Posts

Joined
Sat Aug 31, 2013 10:19 pm
Who is online

Users browsing this forum: No registered users and 148 guests