Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: MrPatriotic - joulukuu 31, 2011, 02:16:28 AP

Otsikko: Favicon?
Kirjoitti: MrPatriotic - joulukuu 31, 2011, 02:16:28 AP
I'm trying to get my Favicon on my site but it won't show up.
I put the image I wanted 16x16 into a Favicon converter and got the file.

I uploaded it in my forum folder on my CP files, why isn't it showing up? What did I do wrong?
Otsikko: Re: Favicon?
Kirjoitti: Illori - joulukuu 31, 2011, 06:21:18 AP
link to your forum so we can see the issue?
Otsikko: Re: Favicon?
Kirjoitti: kat - joulukuu 31, 2011, 09:27:39 AP
I could be wrong...

But, I believe that the file favicon.ico needs to be in the root of your site, unless you want to get into this kinda stuff:

<link rel="shortcut icon"
href="http://example.com/myicon.ico" />

<link rel="icon"
type="image/vnd.microsoft.icon"

<href="http://example.com/image.ico" />
<link rel="icon" type="image/png"

href="http://example.com/image.png" />
<link rel="icon" type="image/gif"
Otsikko: Re: Favicon?
Kirjoitti: MrPatriotic - tammikuu 01, 2012, 07:48:20 IP
I got it working. Uploaded it to my root folder. Thanks!

Now I just need to figure out how to add a header...Hmm.
Otsikko: Re: Favicon?
Kirjoitti: kat - tammikuu 02, 2012, 07:16:23 AP
I believe there's a "Global headers and footers" mod, if that helps.