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
2 Asked on January 6, 2022
1 Asked on January 6, 2022
1 Asked on January 6, 2022 by jes516
1 Asked on January 6, 2022 by ah-jamali
1 Asked on January 4, 2022
3 Asked on January 4, 2022 by default_noob_network
1 Asked on January 4, 2022 by j-choe
2 Asked on January 2, 2022 by rothrock
1 Asked on January 2, 2022 by drvr
1 Asked on January 2, 2022 by scott-davis
3 Asked on January 2, 2022 by lieptas
0 Asked on January 2, 2022
1 Asked on December 31, 2021
1 Asked on December 31, 2021 by okmqaz135
2 Asked on December 31, 2021 by kandace
2 Asked on December 31, 2021 by namwar-rizvi
3 Asked on December 31, 2021
1 Asked on December 31, 2021 by ahmed-alsharkawy
Get help from others!