I am creating a sharepoint blank site wherein I have changed the logo image with the help of these steps https://www.fpweb.net/sharepoint-blog/how-to-change-the-logo-on-your-sharepoint-2013-site/

Now, how can I change the href for this logo so that it always redirects me to the defined place.

This is a newbie's query. please cooperate.

By default, the logo URL points to the home page of the current site, there is no any OOTB method to change its default URL!


Workaround

To change the logo URL,

Modify the "href" to your blank site url in the code below. And add the code into master page using SharePoint designer 2013.

<script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script>
<script type="text/javascript">
var myVar;
$(function () {         
    myVar = setInterval(changeLogoUrl, 100);
});
function changeLogoUrl(){     
    if($(".ms-siteicon-a").length>0){
        $(".ms-siteicon-a").attr("href","http://www.bing.com");
        clearInterval(myVar);
    }   
}
</script>

enter image description here

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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