SharePoint Experts, Information Architects, Expert Witness

SICG provides a broad array of business and technology consulting from architecture to design to deployment of global systems with a focus on surfacing data in the enterprise. We focus on the "How", not just the possible. Contact me direct: or call 704-873-8846 x704.

Search This Blog

Wednesday, April 27, 2011

SharePoint Site Logo overwritten

SO you've added your custom logo and all is well. You create a Web Part Page and suddenly, your Logo is overwritten with the default SharePoint logo (SiteLogo.png). You check your master page - all is OK so where the heck is this coming from?

Turns out the problem is in the SharePoint page itself - in 'injects' some JavaScript at the end of the page that causes this - do a View Source on the page and you will see it:

<script type="text/javascript">// <![CDATA[var logoImg = documentGetElementsByName('onetidHeadbnnr0');if
(logoImg != undefined && logoImg[0] != undefined)'/_layouts/images/siteIcon.png';// ]]></script><script type="text/javascript">// <![CDATA[MoveSiteTitle();// ]]></script>

So - you have two options:

1) Replace the SiteLogo.png file in the SharePoint Images folder with your own
2) Edit the Master Page, find the 'onetidHeadbnnr0' control and change the name to 'onetidHeadbnnr1'

Found this post by Jonathan Roussel which has the answer:
Post a Comment