SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I uploaded my company's site logo successfully to my site and whenever I created sites under my site collection, the logo is inheriting successfully. But the problem is when I click the site logo from any sub-site, it's taking me to that particular site's homepage, but not to the top-level site. How could I do that?

share|improve this question

The OOTB master page uses the ~site token as the URL to surround the site logo, just change this to ~sitecollection/ (the trailing slash is necessary) or even / depending on your particular requirements.

In v4.master the section to change is at line 297 and should wind up looking something like:

<SharePoint:SPLinkButton runat="server" NavigateUrl="~sitecollection/" id="onetidProjectPropertyTitleGraphic" >
    <SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/images/siteIcon.png" runat="server"/>
share|improve this answer

out of the box, as said it is not possible. However, doing it for all sites separate would be ....... ().

Better to use a little script (JScript) finding the link in the DOM (by name or ID) and replacing it with the required URL.

share|improve this answer
Using javascript for this is not the best approach. SharePoint has a built-in url token system that should be leveraged – GavinB Nov 17 '11 at 2:24

You need to edit the logo URL from SharePoint Designer... No options are available Out of the box...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.