General Community > HTML/CSS

Favicon Help

(1/6) > >>

jbraum:
Here's what I've done but I'm not seeing my favicon

Put the favicon in the default theme and pasted the following code
--- Code: ---<link rel="shortcut icon" type="application/ico" href="/favicon.ico" />
--- End code ---
before the </head> in the index.template.php.  I'm using a different theme is this my problem?

Gary:
Try


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

--- End code ---

and upload favicon.ico into your main the forum root directory.

-AwwLilMaggie

jbraum:
Did that but no favicon.  Might be a dumb question but do I need to put the code on the index.php in the root directory where the favicon is.  Now I have the code in the default theme - index.template.php and in the same php page in the theme I currently use.

Alan S:
Dont put the code in the index.php , It could screw up your forum , Put it in the index.template.php

at the very start before all the other code so its like


--- Code: ---<head>
<link rel="shortcut icon" href="favicon.ico" />
</head>
<?
-----Smf Code------ ?>
--- End code ---

jbraum:
Got it!  Thanks...

Navigation

[0] Message Index

[#] Next page

Go to full version