By now you have noticed the “SharePoint” text in the top left corner on SharePoint 2013. What if you would like to replace this with your own text, or better yet a clickable image of your company logo? Once again PowerShell is here to help you. Note that this is a Web Application level change and will affect all sites within the Web Application.
Here is our starting point
Steps to change
Open the SharePoint 2013 Management Shell and let’s look at the default setting:
$webApp = Get-SPWebApplication http://intranet.orion.com $webApp.SuiteBarBrandingElementHtml
You can see that it’s simply taking in HTML to render the text. So, here is the HTML that I’ll use to display our company logo linked to the root Site Collection:
$webApp = Get-SPWebApplication http://intranet.orion.com $webApp.SuiteBarBrandingElementHtml = '<div class="ms-core-brandingText"><a href="http://intranet.orion.com"><img src="http://intranet.orion.com/SiteAssets/logo_contoso.png"/></a></div>' $webApp.Update()
The result
Pretty simple, eh?
Here is the default setting should you need to revert back:
$webApp = Get-SPWebApplication http://intranet.orion.com $webApp.SuiteBarBrandingElementHtml = '<div class="ms-core-brandingText">SharePoint</div>' $webApp.Update()
02/20/2013 at 6:27 am
Can this be done in SharePoint 2013 online?
02/21/2013 at 7:28 am
I’m not positive but I would say no. You can use PowerShell with SharePoint Online but most of that is against the Site Collection and not the Web App – which this property falls under.
05/09/2013 at 11:49 am
Is there a way to change the color of the top SharePoint bar from blue to a different color?
05/09/2013 at 10:18 pm
You can do that out of the box under Site Settings under the Look and Feel section. Or, you can through CSS but I’m not sure of the exact class to change. You might want to do a search for it – but you can do it, yes.