function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JamesHaworthOncamJamesHaworthOncam 

Favicon not appearing in Community

I need to add a favicon to our Community. I found an article (https://help.salesforce.com/articleView?id=000167021&type=1) which has the following steps:-

1. Create 16x16 icon. Add the favicon as an .ico format
2. Upload as a static resource and make sure cache control attribute is set as public
3. Go to Setup > Develop > Sites and click on Edit for your Site. / If you are logged into Community Management go to Administration > Pages > Go to Force.com > and click on the Edit button. In the Site Favorite Icon field upload the desired favicon.

I followed these steps but the favicon is not yet appearing.
Best Answer chosen by JamesHaworthOncam
JamesHaworthOncamJamesHaworthOncam
This is now solved. I followed the steps on this blog: https://blogs.perficient.com/2017/08/01/favicons-your-salesforce-community-is-not-complete-without-one/

The key step was this one:
If you’re using a Lightning community, you can try adding the link to the favicon in the head markup from within the Builder. Go to Settings > Advanced > Edit Head markup and enter in the following:
​<link rel=”shortcut icon” href=”/resource/<faviconName>.ico” type=”image/x-icon” />

All Answers

Murali MattaMurali Matta
Hi James,

If you added the icon today, it will take one day to reflect the changes.

Please clear Cache and make sure you followed all the steps.

Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Murali
JamesHaworthOncamJamesHaworthOncam
I actually added the icon several days ago and have cleared the cache as well as using Incognito mode.

I also tried a different ico file, but it's still not appearing.
JamesHaworthOncamJamesHaworthOncam
This is now solved. I followed the steps on this blog: https://blogs.perficient.com/2017/08/01/favicons-your-salesforce-community-is-not-complete-without-one/

The key step was this one:
If you’re using a Lightning community, you can try adding the link to the favicon in the head markup from within the Builder. Go to Settings > Advanced > Edit Head markup and enter in the following:
​<link rel=”shortcut icon” href=”/resource/<faviconName>.ico” type=”image/x-icon” />
This was selected as the best answer
johannjohann
I don't think the link in the Head Markup is still necessary. Can anyone else confirm this?
KEVIN WEIL 7KEVIN WEIL 7
This tag: rel=”shortcut icon” is not allowed in the header markup.  At least not now
KEVIN WEIL 7KEVIN WEIL 7
johann, i didnt need to add the head markup.  it worked fine