SharePoint Experts, Information Architects, Expert Witness

We provide consulting in a broad array of business and technology from architecture to design to deployment of global systems with a focus on surfacing data in the enterprise. Specialists in Microsoft, we are a premier provider of SharePoint Expertise (including 2016 and Office 365). We also provide Expert Witness/Legal Expert in eDiscovery, source discovery, patent infringement, piracy and more! We also have established SICG DLDS s.a. - our counterpart in Costa Rica that specializes in water systems ( - 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:


sbo said...

thank you so much. fosbobetr good Archive

Anonymous said...

Thanks! This was driving me crazy!

Aditi Sarkar said...

Great post!!