I am trying to change the favicon for a site in SharePoint Online. I have seen how it is possible to do this by modifying a master page. However, with SharePoint Online Microsoft was recommended not modifying master pages as it might (will) break things when they push automatic updates- or it may just prevent auto updates, I’m not sure which, but either scenario I want to avoid.
Is this possible? Is there a file I can just replace somewhere on SharePoint Online? Could someone show me that path, if so?
The another option of changing the favicon icon without modifying master page is using jQuery.
Upload your favicon icon in SharePoint and use below jQuery code to replace this on run time:
$("link[rel='shortcut icon']").attr("href","[Favicon Icon URL]");
Hope this will help you meet your requirement.
Answered by Hemant Kabra on January 4, 2022
In 2013, with server access you can just replace the 'favicon.ico' file in the _layouts/15/images/favicon.ico But I don't think there is a way without modifying the master page in SharePoint Online.
Answered by SharePointer on January 4, 2022
It is highly unlikely, that you will break something by replacing the path to the favicon in your master page. In addition, it don't believe there is a way without laying hand on your master page file.
So it is back to basics I'm afraid
Answered by Marco on January 4, 2022
1 Asked on December 17, 2020 by kailash-sahoo
2 Asked on December 16, 2020 by brandon-black
0 Asked on December 14, 2020 by sunil-jogi
1 Asked on December 13, 2020 by frank-bertucci
3 Asked on December 13, 2020 by gsd-sharepoint
2 Asked on December 10, 2020 by simon1608
1 Asked on December 10, 2020 by mannaggia
1 Asked on December 10, 2020 by ergec
1 Asked on December 9, 2020 by splearner
1 Asked on December 8, 2020 by user92386
1 Asked on December 8, 2020 by jitender-singh-tomar
1 Asked on December 8, 2020 by neberu
2 Asked on December 5, 2020 by d-d
2 Asked on December 4, 2020 by emaborsa
1 Asked on December 4, 2020 by kumar
Get help from others!