How to Change the default SharePoint ICON for SharePoint Sites opens in new tabs and in browser start address

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/285331

  •  16-02-2021
  •  | 
  •  

Question

Hi How to Change the default SharePoint ICON for SharePoint Sites opens in new tabs and in browser start address. I tried to add favicons under head tag of masterpage but its not changed.

Was it helpful?

Solution

You could use jQuery to change the icon.Add the code into master page.

<script src="http://sp/Shared%20Documents/jquery.js"></script>
<script type="text/javascript">
$(function () { 
    $('#favicon').attr('href', '/Shared%20Documents/Google-Chrome-Google-Chrome.ico');
});

Test result:

strong text

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top