Forum Discussion

Vivek Jain's avatar
Vivek Jain
Iron Contributor
Apr 09, 2018

Customizing Logo on "Site" and "Sub-sites"

I updated my logo using the "Site settings | Title, Description, and Logo" route on my main site (i.e. "abc.sharepoint.com") and that logo is then getting reflected on all the child sub-sites e.g.

 

abc.sharepoint.com/team/

abc.sharepoint.com/team/Project-1/

abc.sharepoint.com/BD/

 

I would like different logos for my different subsites, but if I update my child sub-site to have no logo (by removing the logo URL in the "Site settings | Title, Description, and Logo" option) then it automatically reverts itself back to the logo I set on my main site "abc.sharepoint.com".

 

Appreciate any ideas.

2 Replies

  • I'm trying to better understand your requirement here.

    You want a custom logo on both site and subsite but you don't want logo to inherit from parent site correct?

    Please make sure address field is clean and empty in site title logo for susbite to make sure it doesn't inherit parent logo.

    You can add below alternate css to your subsite and set your site logo to image you would like.

    img[src*='siteIcon'] {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(‘/Style Library/mySiteLogo.png’) no-repeat; /* Path to the site logo */
    width: 180px; /* Width of new image */
    height: 64px; /* Height of new image */
    padding-left: 180px; /* Equal to width of new image */
    }

    .ms-siteicon-img, .ms-siteicon-a {
    max-height: none;
    max-width: none;
    }

    • Vivek Jain's avatar
      Vivek Jain
      Iron Contributor

      Thanks. I'll try that and most likely will solve my situation. I was wondering if  out of the box the logo provided on main parent site overrides everything else, then why does Microsoft even provides the option of logo on the sub-sites when it's always going to take it from main parent site.

       

      Thanks for idea you gave. Appreciate your time.

Resources