Monday, March 25, 2013

Use custom favicon in SharePoint 2010 Master Page


Follow the steps to use custom favicon in SharePoint 2010 Master Page
  1. Open SharePoint Designer 2010
  2. Locate master page file in SharePoint Designer 2010
    Note: Default location of master page files: All Filesà_catalogsàmasterpage
  3. Right click on the default master page file
    Note: By default v4.master is default master page file
  4. Check Out master page file and open in Advanced Mode by right clicking to the file
  5. Find “SharePoint:SPShortcutIcon” tag in HEAD section of the content
  6. Replace IconUrl value with custom icon file
    Example:
    <SharePoint:SPShortcutIcon runat="server" IconUrl="/images/custom_icon.ico" />
  7. Save file and check in all the changes
  8. Publish and Approve the changes
Contact Me for any technical help related with SharePoint 2010.

3 comments:

Anonymous said...

How do i replace the image programatically?

Unknown said...

As per my understanding, there is no way to change favicon programatically(using server side coding) as it's a HTML tag. You can try javascript or jquery to achieve it. Refer http://stackoverflow.com/questions/260857/changing-website-favicon-dynamically

Unknown said...

Dear Prashant,

I have an answer for the programmatic implementation.

Please contact www.sysfygroup.com for details