PDA

View Full Version : Favicon


mikeholohan
Sun 18th May '08, 4:51am
Where do i edit the favicon code, i want to change my favicon to an animated gif... I know how to edit it, I just don't know where to find the code...

Mike.

Jose Amaral Rego
Sun 18th May '08, 1:26pm
You can just overwrite the image that is found in root directory of your vBulletin files and folders.

You should be able to locate the code in template: headincludes... You be able to get away in adding code to top of template: header, if you are not seeing it. You should do a hard refresh crtl+f5 and see if the image appears.

This is the code if you were not able to locate it.
<link rel="shortcut icon" href="favicon.ico" />

mikeholohan
Sun 18th May '08, 3:54pm
I can't find favicon.ico in the header or headinclude, what template is calling for favicon.ico i want to replace the code to point to an animated gif?

Mike.

Jose Amaral Rego
Sun 18th May '08, 4:32pm
Just add it to the top of template: header and the very bottom on next line in headinclude template. You still need to overwrite the vBulletin logo with yours though...

<link rel="shortcut icon" href="favicon.ico" />

mikeholohan
Sun 18th May '08, 6:48pm
Thanks for the help. I got the answer on vb.org...

if you would like to display the animated favicon, upload animated_favicon1.gif as well and insert the following HTML tags on the top of your header OR headinclude

Code:
<link rel="shortcut icon" href="favicon.ico" >
<link rel="icon" href="animated_favicon1.gif" type="image/gif" >

If you would like to test the favicon after updating your web page, the Favicon Validator can check the favicon files and tags on your website.
__________________

Jose Amaral Rego
Sun 18th May '08, 8:30pm
Does that work for Windows IE7 or Opera 9... ok it does after plying with it. I thought it will just be blank.
http://www.html-kit.com/favicon/