How to Change SharePoint Site Logo + PowerShell

In this SharePoint customization tutorial, we will discuss how to change SharePoint site logo using the browser. And also we will see how to change logo in SharePoint site using PowerShell. Let us see how to change SharePoint logo.

In the same way, we can change SharePoint Online team site logo, as well as we will see how to change SharePoint 2016 site logo using PowerShell or using a browser.

We will also see the recommended SharePoint logo size and the SharePoint online change site logo URL.

Also, we will discuss the SharePoint modern site logo size and as well as how to change SharePoint Online modern site logo.

Now, let us see how to change SharePoint team site logo by using a browser and PowerShell.

Company Logo is very important in any organization and SharePoint 2016 or 2013 provides the easiest way to use your company logo as well as to change the logo. By default the logo appears in the top left corner which looks like below:

SharePoint logo size

Now, let us see the recommended SharePoint logo size.

The default SharePoint 2016/2013/Online logo size appears in below size:

  • Width: 180 pixels
  • Height: 65 pixels

The default SharePoint site logo looks like below. But definitely, every organization, or every department or even every team wants to change this logo and put their own logo.

change SharePoint site logo
change SharePoint site logo

Change default SharePoint team site logo using Browser

Now, we will see how to change SharePoint team site logo using browser. The steps I have followed in SharePoint 2016. But the same way you can change SharePoint Online team site logo and SharePoint 2013/2019 site logo.

So let us see how to change default SharePoint logo.

To change the SharePoint logo, open the SharePoint 2016 site and then click on the gear icon and then click on Site Settings.

sharepoint 2016 change logo
sharepoint 2016 change logo

Then click on “Title, description, and logo” which is under the Look and Feel section.

sharepoint 2016 logo size
sharepoint 2016 logo size

This is the place where you can change your site Title, Description as well as Logo. Then to insert a Logo you can insert from your computer as well as you can insert it from SharePoint.

When you select Insert from Computer, it will ask you to browse the Logo image file. By default, it will upload to the Site Assets document library. Apart from that you can also choose From SharePoint and upload to any document library. It looks like below:

change sharepoint logo
change sharepoint logo

Apart from that if you have multiple SharePoint site collections and you want to use the same logo then you can upload the logo into 15 hive folder and can give the logo URL like below:

/_layouts/15/images/sp-training-logo.png

Change Logo SharePoint 2016/2013 using PowerShell

As a SharePoint administrator or developer, we can also change the SharePoint 2016 site logo using PowerShell. We can run the below PowerShell script using Windows PowerShell ISE or by using Visual Studio code.

$web = Get-SPWeb "http://SiteURL"
$web.SiteLogoUrl = "http://Path of the image file"
$web.SiteLogoDescription = "EnjoySharePoint.com company Logo"
$web.Update()

You can upload the logo to any site library and then you can give the logo URL in the SiteLogoUrl properties in SharePoint 2013/2016.

The above PowerShell will be helpful to change the logo in one site if you want to change in various sites and subsites then you can use PowerShell to change the logo in all sites and subsites.

Change logo in SharePoint site using PowerShell

Now we will see how to change logo in SharePoint site using PowerShell.

Now, we will discuss how to change the logo in a SharePoint site collection, site or subsite using PowerShell in SharePoint 2013/2016. We will also see, how to change the logo at the web application level in SharePoint 2016/2013.

Change logo in SharePoint using PowerShell

Recently I came across a requirement where we have a site collection and in that site collection we have around 100 sites (subsites)were there. And we do not want to change everywhere or even we do not want to put in the master page as static image URL.

Before running this PowerShell we need to make sure that the logo is there in the same folder where we are referencing.

Once we will run the below PowerShell script then it will set the logo in the site collections or subsites in SharePoint 2013.

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$sitelogo="/_layouts/15/images/enjoysharepoint_logo.jpg"
$Site="http://win-pfcp2dgt8di/sites/EnjoySharePoint/"
$Sites=Get-SPSite $Site -Limit All | Get-SPWeb -limit all
$Sites|ForEach-Object { $_.SiteLogoUrl = $sitelogo; $_.Update()}
$Sites.Dispose()

The above script will set the logo for each site and subsites under the site collection.

Change Logo at SharePoint Web Application Level

Below is the PowerShell command which you can use to set the logo at the web application level so that the logo will change at all the site collections, sites, and subsites, etc.

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$sitelogo="/_layouts/15/images/enjoysharepoint_logo.jpg"
$WebApp="http://win-pfcp2dgt8di/"
$Sites=Get-SPWebApplication $WebApp | Get-SPSite -Limit All | Get-SPWeb -Limit All | Select URL
$Sites|ForEach-Object {
$CurrentSite=$_.URL
$CurrentSiteObject=new-object Microsoft.SharePoint.SPSite($CurrentSite)
foreach($web in $CurrentSiteObject.Allwebs) {
$web.SiteLogoUrl=$sitelogo
$web.Update()}
$CurrentSiteObject.Dispose()}

SharePoint modern site logo size

Now, we will see the SharePoint modern site logo size or the SharePoint Online modern site logo size. The recommended SharePoint modern site logo size is 64px x 64px.

Now, let us see how to change SharePoint Online modern site logo from the browser.

Open the SharePoint Online modern team site. Then click on the Settings icon and then click on Site information or Change the look like below:

Change SharePoint Online Modern Site Logo
Change SharePoint Online Modern Site Logo

Then click on Header like below:

sharepoint modern site logo size
Change modern team site logo

Then you can browse the logo from the Site logo section by clicking on the Change link like below:

change sharepoint online modern site logo
change sharepoint online modern site logo

This is how we can change SharePoint Online modern team site logo.

Change Navbar Logo and color in Office 365

Now, we will see how to change navbar color and logo in Office 365.

Now, let us see how to change the Navbar color and Logo in Office 365 site. Be default Black color came in Office 365. By default the navbar will look like below:

Office 365 Change Navbar color and Change Logo
Office 365 Change Navbar color and Change Logo

To change the navbar color or Logo, first log in to your Office 365 account.

Then open the Office 365 Admin page and then in the Admin page from the Right top click on the Link something looks like below:

 Office 365 Change Navbar color and Change Logo
Office 365 Change Navbar color and Change Logo

Here in the next page, there will be two items to update:

  • Company profile
  • Custom theming

Click on the Custom theming. In the Manage custom themes page, you can upload your logo.

Also, you can change the Navbar background color to change the navbar back color. It looks like below:

change office 365 navbar color
change office 365 navbar color

Then Save the page and it will appear like below:

 Office 365 Change Navbar color and Change Logo
Office 365 Change Navbar color and Change Logo

If you are new to SharePoint 2016, check out few SharePoint 2016 tutorials:

I hope this article will be helpful to change site logo in sharepoint online. This is how we can change logo sharepoint team site.

Here, we also learned how to change logo in SharePoint site using PowerShell.

And what is the recommended modern SharePoint site logo size and how to change the logo in modern SharePoint Online site?

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>