AnswerBun.com

Can I change favicon without modifying the master page?

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?

SharePoint Asked by default_noob_network on January 4, 2022

3 Answers

3 Answers

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

  1. Upload your custom favicon.ico file
  2. Make a copy of your master page file.
  3. Edit that copy and replace the path to the favicon.ico
  4. Save & publish

Answered by Marco on January 4, 2022

Add your own answers!

Related Questions

Auto-populate email address from pc:Person?

1  Asked on December 17, 2020 by zeno

   

Org Browser start at a specific user for SP 2013

2  Asked on December 16, 2020 by brandon-black

     

Form based Login Authentication for Public Site Sharepoint online

1  Asked on December 8, 2020 by jitender-singh-tomar

   

Sharepoint PHP File Upload

1  Asked on December 7, 2020 by markvdb

     

CSS Script for Multiple Columns Boxed Style

1  Asked on December 6, 2020 by elebie

 

Faulting application name: csc.exe

2  Asked on December 4, 2020 by emaborsa

         

sharepoint 2013,RSS viewer web part error

1  Asked on December 4, 2020 by pasha

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.