Change Subsite Logo to Link Root Site in SharePoint 2013 / 2016 using jQuery

Requirement: Change Subsite logo to link root site in SharePoint 2013 / SharePoint 2016

Solution: By default, the Subsite logo links points to its homepage. We can change the site logo link in SharePoint 2013 using jQuery to point to the root site.

sharepoint 2013 logo link to root

Add a script editor or modify your master page to include this code

<script src="" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
  $("#DeltaSiteLogo a").attr("href","");

Here is another post with a different approach: Change SharePoint 2013/2010 Site Logo Link to Root Site URL

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply