Skip to main content
Topic: favicon (Read 7661 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

favicon

I tried and tried but didn't find the spot to put the favicon.ico in for ElkArte.  O:-) Help is very appreciated!

Re: favicon

Reply #1

Just send it to forum folder (where you have SSI.php). There is already default favicon (favicon.ico).

Re: favicon

Reply #2

Okay, but there seem to be no changes. I cleaned the cache of ElkArte and my browser cache. But I can't see my favicon. Which favicon do you see at http://support.elkarte-hilfe.de ? Should be the one I attached here.

Re: favicon

Reply #3

Favicons sometimes change after few days.

Re: favicon

Reply #4

The browser probably looks for the:
Code: [Select]
<link rel="shortcut icon" sizes="196x196" href="http://support.elkarte-hilfe.de/themes/Blue/images/mobile.png" />
This is a "mobile-oriented" favicon, change that to an equivalent sized image and it should pick the one you want. ;)
Bugs creator.
Features destroyer.
Template killer.

Re: favicon

Reply #5

You were right. Thank you.

Re: favicon

Reply #6

 emanuele thinks this is to document somewhere or put a field in the theme settings or general or something...
Bugs creator.
Features destroyer.
Template killer.

Re: favicon

Reply #7

Its changed now. :p

Re: favicon

Reply #8

I've been trying to get my favicon to work instead of the default ElkArte favicon. I have completely removed the ElkArte favicon.ico from my sites root folder and I have placed my own favicon.ico in the forum root folder. I have deleted the forum cache, I have deleted the cache on Safari, Firefox, and Chrome. I have rebooted my computer. No matter what I do all 3 browsers still show the ElkArt favicon.ico file which is nowhere within my sites folder. Any ideas on how to make this change. If I directly link to my custom favicon.ico file it shows my custom favicon but going anywhere using my forum links the ElkArte default favicon.ico file is being used.

This is the image link to my custom favicon.ico file:

Re: favicon

Reply #9

See my reply #4. ;)
Same thing.
The favicon is defined in the template, line 174 of index.template.php:
Code: [Select]
	echo '
<link rel="shortcut icon" sizes="196x196" href="' . $settings['images_url'] . '/mobile.png" />
either change that or remove the line.
Bugs creator.
Features destroyer.
Template killer.

Re: favicon

Reply #10

Thank you. All is right with the world again. ;D

Re: favicon

Reply #11

Quote from: emanuele – The browser probably looks for the:
Code: [Select]
<link rel="shortcut icon" sizes="196x196" href="http://support.elkarte-hilfe.de/themes/Blue/images/mobile.png" />
This is a "mobile-oriented" favicon, change that to an equivalent sized image and it should pick the one you want. ;)

Sorry to bring up an old post but running into this as well, my question is what size should it be set too?

Never mind found it 16 x 16.

Re: favicon

Reply #12

In the line I posted, there is an attribute: sizes="196x196"
You can either use that size (that is in pixels) or change it to whatever you want.

Small suggestion, I think mobile devices like to have images of 196px X 196px. ;)
But 16 will do for "normal" (desktop) browsers.
Bugs creator.
Features destroyer.
Template killer.

Re: favicon

Reply #13

Still trying to get this to work, right now I have
Code: [Select]
<link rel="shortcut icon" sizes="196x196" href="' . $settings['images_url'] . 'http://alilnook.com/favicon.ico" />

am I doing something wrong.

Re: favicon

Reply #14

Code: [Select]
<link rel="shortcut icon" href="http://alilnook.com/favicon.ico" />
Bugs creator.
Features destroyer.
Template killer.