Custom Favicon on your Experience Cloud Site or Force.com Site
About Favicons:
The icon displayed on the browser's address bar/ tab or when the page is bookmarked is called the favicon.
Resources to be used as a favicon (favorite icon) has to be 16x16 in size and of .ico format.
There are multiple ways of specifying a favicon for a website and the standards are listed here:
1. Use of a rel attribute value defined in a profile
2. Putting the favicon at a predefined URI on the root path.
Favicon requests are sent by the browser and how it resolves to any of the methods above is specified here:
QUOTE: "If links for both PNG and ICO favicons are present, PNG-favicon-compatible browsers select which format and size to use as follows. Firefox and Safari will use the favicon that comes last. Chrome for Mac will use whichever favicon is ICO formatted, otherwise the 32×32 favicon. Chrome for Windows will use the favicon that comes first if it is 16×16, otherwise the ICO. If none of the aforementioned options are available, both Chromes will use whichever favicon comes first, exactly the opposite of Firefox and Safari. Indeed, Chrome for Mac will ignore the 16×16 favicon and use the 32×32 version, only to scale it back down to 16×16 on non-retina devices. Opera will choose from any of the available icons completely at random.[33]
Only SeaMonkey doesn’t fetch favicon.ico files in the website’s root by default.[34]"
There are a couple of ways to update FavIcon on Sites.
Refer to Salesforce links to explore more about updating FavIcons.
Custom Favicon on your Experience Cloud Site or Force.com Site
Set a favicon for a Lightning Community



Comments
Post a Comment