Alexander's Blog

Sharing knowledge with the global IT community since November 1, 2004

How to Customize the SharePoint Site Logo in the URL

/
/
ad-mania

If you go to Google or Bank of America’s Web site you will notice that your browser displays a custom logo to the left of the URL. I have customized most of my Web sites the same way. When you bookmark the site it adds the logo next to the URL so it is easy to identify. To add this type of custom logo you can create your own favicon.ico file and upload it to the root of your Web site. Here’s what the end result will be in Internet Explorer.

In this article I will show you how to add a custom logo to your SharePoint site. There are lots of free utilities that you can use to create the .ico file. I use Easy Icon Maker to create .ico files for my sites from scratch but there are lots of other tools available that you may find more convenient. For example, some tools will let you save your existing .gif files as .ico files.

The add the custom logo to your SharePoint site, create the logo and save it as favicon.ico. You cannot use any other name, you must save the file as favicon.ico using a tool that allows you to create .ico files. Here are the steps to add your logo to SharePoint sites.

WARNING! Backup your SharePoint site collection. Anytime you use SharePoint Designer there is always a possibility that your site can get totally messed up, depending on the type of changes you are going to make. If you are not comfortable using SharePoint Designer 2010 and don’t understand the risks, do not perform these tasks.

  1. Upload your favicon.ico file to your SharePoint site collection using the browser.
  2. Open your site in SharePoint Designer 2010.NOTE: You can’t edit a MOSS 2007 site with SharePoint Designer 2010, or a SharePoint 2010 site with SharePoint Designer 2007.You have to use SharePoint Designer 2007 for MOSS 2007 sites and SharePoint Designer 2010 for SharePoint 2010 sites.
  3. If prompted, select edit the page layout option. You may also be asked to check out the document, which is necessary if you want to edit the master page.
  4. Go to the Master Pages library.
  5. Edit the Master Page for your site. I am using Team Site in my example so my master page is v4.master.
  6. Click the Edit file link under Customization heading otherwise you won’t be able to edit the page in SharePoint Designer 2010. When prompted Do you want to check it out?, select Yes.
  7. Switch to the Code view by clicking Code at the bottom of the page.
  8. Use the Find option on the ribbon to locate the tag “SharePoint:SPShortcutIcon” in the code. It’s usually located in the heading section at the beginning of the page.
  9. Edit the existing URL (/_layouts/images/favicon.ico) and replace it with the URL for the favicon.ico. You need to replace everything between the quotes. For example, replace the text /_layouts/images/favicon.ico with the URL to your favicon.ico file.
  10. If you uploaded the favicon.ico file to the Site Collection images than the URL might look like this.
    http://<YourSiteName>/SiteCollectionImages/favicon.ico.
  11. If you are not sure what site definitions are and what the effect might be then stop right here. Discard all changes and exit SharePoint Designer 2010. Otherwise, click Yes when you see the warning message about the Site Definition Page Warning.
  12. Save the v4.master page in SharePoint Designer.
  13. In the left hand Navigation window notice the green check mark next to the file v4.master. This means the file has been checked out. Right-click the file and Check In. Unless the file is checked-in, the changes will not be visible in the browser.
  14. In the Check In window select Publish a major version and click OK.
  15. When prompted for content approval, select Yes.
  16. You will be taken to the Master Gallery page where the approval status for the file will show pending.
  17. Click on the drop-down button and select Approve/Reject.
  18. In the Approve/Reject Window select the Approved button and click OK.
  19. As soon as you approve the document, the browser will display your custom logo.
  20. Now when you add the site to the Favorites in Internet Explorer or Bookmark the site in Firefox, the  address will also display the logo.

Copyright ©2010 Zubair Alexander. All rights reserved.

  • Facebook
  • Twitter
  • Linkedin

Leave a Comment

Your email address will not be published. Required fields are marked *

This div height required for enabling the sticky sidebar