In my previous post, SP 2013: Some new DelegateControl additions to the SharePoint 2013 master pages, I talked about how you could use the new delegate controls in the master page seattle.master to modify a few things in the SharePoint UI, including the text in the top left corner saying “SharePoint”. If your goal is simply to change the text, or hardcode a link without the need for any code behind, you could do it even easier with PowerShell.
Change the SharePoint text using PowerShell
Here’s a short PowerShell snippet you can run to customize the text:
$webApp = Get-SPWebApplication http://tozit-sp:2015
$webApp.SuiteBarBrandingElementHtml = "Awesome Text Goes Here"
$webApp.Update()
Before the change:

A SharePoint site showing the default “SharePoint” text.
After the change:
![]()
A SharePoint site showing a custom text in the top left corner.
Enjoy.
Comments are closed
Archived comments
Nice one!
Thanks Daniel!
Hey Tobias, thanks for sharing the above change through PS. could you please put some light on how we can do this for per site collections level not at web app level?
Regards,
Jameel
Hi Jameel,
If you want to change the text for only a specific site or site collection, check out this article about using the new Delegate Controls: http://zimmergren.net/techn...
It will guide you right through it.
Regards,
Tob.
you can update the text using css.
To add new text:
.ms-core-brandingText:before{
content:'Text;
color:White;
}
To remove sharepoint text:
.ms-core-brandingText
{
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
Hello Tobias,
I have web application with 4 different Site collections and each Site collections for it's separate BU's
How can I have different text displayed for "o365cs-nav-brandingtext" for each site collections ?
So, how do you do the same thing in Office 365 cloud?
How do we get that text to not be so close to the left.. it looks really weird I think.
You can do that either using only CSS or you can customize the text as I describe above and put your own HTML in there, including any styles or cssclasses you'd like.
Nice one, thanks!
I adjusted it a bit though:
$webApp.SuiteBartBrandingElementHtml='<div class="ms-core-brandingText">Awesome Text Goes Here'</div>
Eh the last ' after the closing div tag ofcourse ;)
Cheers. You can input full HTML with styling into the SuiteBarBrandingElementHtml property - so essentially you can make it look any way you want.
See how I did it in my other blog post:http://zimmergren.net/techn...
this is exactly what I was looking for :)
Thanks Caroline & Tobias
Awesome Tips, Thanks!
Rock and roll!
Hello .. awesome tip .. however i've ran the scripts times & times again .. but no change .. iisreset /noforce ... nothing .. SharePoint text is still there .. any clue ??
Hi Nina,
Does the logs state anything about the execution? Do you get any output in the PS console window?
I've done this several times in multiple production environments and it works every time so I guess it's environment-specific for your case.
Cheers,
Tob.
Thanks for this. The script runs fine on all my web applications however on 1 webapp the text do not change and the default value "SharePoint" remains. No erros in the script and ULS shows that some powershell is run aswell. Through powershell the correct value is returned if I type: $webApp.SuiteBarBrandingElementHtml
I got my MySite web application and set this to a hyperlink to my Intranet web application. I added a class to make the a:visited white, then removed the padding-left on the a tag:
$webapp= Get-SPWebApplication https://mysite
$webapp.SuiteBarBrandingElementHtml = "[div class=""ms-core-brandingText""][a class=""ms-core-suiteLink-a"" href=""https://intranet"" style=""padding-left:0px""]Intranet[/a][/div]"
$webapp.Update()
You have to replace [ ] with < > in the above code, since this blog translates the HTML to safe characters.
Also note how I escaped the quotes ""
$webapp= Get-SPWebApplication https://mysite
$webapp.SuiteBarBrandingElementHtml = "[div class=""ms-core-brandingText""][a class=""ms-core-suiteLink-a"" href=""https://intranet"" style=""padding-left:0px""]Intranet[/a][/div]"
$webapp.Update()
replace the [ ] with < > for HTML tags
lifesaver, without the additional markup the new text is almost impossible to style. Thanks for completing this solution.
Thanks for the comment Lance.
Agreed that the styling provided here in the comments makes it better if you do it this approach.
I do all my styling from a css file instead of on-line; Makes it easier to manage in the ALM standpoint.
There's other ways to modify the text, by replacing with other optional HTML as described here: http://zimmergren.net/techn...
Cheers.
how to do that for Office 365
Thanks Tobias !
Can we do the same for Office 365? Or we have to use Java script? not getting anywhere with Office 365....
Javascript is probably your easiest way to get this done. Check out Fredrik's post on it here: http://frederik.se/this-is-...
Hello.. changes are not been done to my home page and some apps.. need your kind help..
Hi Arshman,
What problems are you facing, what are you trying to do and what have you tried?
Tobias.
I have changed the branding text by using the power shell command you have given above.. so branding text has been update on some of the portal pages but not on all pages.. like my home page is still showing Sharepoint..
How can I change the "Working On It" text?
Hi,
Is it possible to put an image/logo in place of the text?
Hi Renan,
Yes you can. Actually you can put HTML in there, linking to your images if you want.
Here's another article talking about a related topic, where I'm replacing with an image: http://zimmergren.net/techn...
There's also other alternatives as mentioned in the comments here.
Cheers,
Tobias.
Hi guys,
First I would like to thank Tobias Zimmergren for his excelent Blog, you are a life savior.
I managed to add an image also using PowerShell.
You just have to use a normal image HTML tag but instead of useing double collon you use the single collon... like this:
Add-PSSnapin microsoft.sharepoint.powershell
$webApp = Get-SPWebApplication http://yoursiteURL
$webApp.SuiteBarBrandingElementHtml = "<img src="http://yoursiteURL/SiteAssets/yourlogo.png"> "
$webApp.Update()
And guess what I placed an image instead of the phrase.
Cheers
Mandela Morais
The blog is replacing my single colon by double colon, I will post an image
I notice when I perform this it causes the text to pushed all the way to the left with no spacing like there was by default. I tried adding a couple spaces before the desired text in PowerShell and it appears it does not recognize spaces. Is there a way to resolve this?
Hi Alexander,
Sure, you could encapsule it in html and embed some styles on it easily. Check out this post about the required additional steps in PowerShell: http://sharepointadam.com/2...
You can insert whatever you want in there, of course.
Cheers,
Tobias.
Is the PowerShell only apply change to existing site collections on the web app? Will it also apply to site collection create in the future?
Hi Mark,
Yep, this only applies to the web applications you specify yourself in your script, and as such they need to exist. If you want this to be applied to new site collections, I would suggest you utilize a provisioning pattern for creating them (check out Office 365 PnP provisioning engine for examples of how that can work).
Cheers,
Tobias.
Awesome
Cheers :-)
Please let me know,How to change or hide yammer and site
Hey Hasan,
Sorry for the late reply - I've entirely missed this.
There's plenty of options for that. Since Microsoft is recommending to move away from customizations (especially if you're on-prem you should try and avoid building too much WSP's etc if you plan to move to the cloud), there's various ways to hide things in the UI.
Script injection is very common, and can be accomplished in a variety of ways in SharePoint.
Here's one of my old posts about some of the new DelegateControls in the SharePoint 2013 master pages. https://zimmergren.net/sp-2.... However, today I would most likely use script injection instead.
See more about Script Injection in SharePoint Online or on-prem here:
https://msdn.microsoft.com/...
The Office 365 PnP github repository and samples are a great place to learn how to accomplish things in a more "modern" and recommended way.
Enjoy :-)
simply elegant
Might want to move the title to the right a little$webApp.SuiteBarBrandingElementHtml
= " <big>TITLE</big>"
&.n.b.s.p.;
remove the periods
Should this work in SP2016 ,I tried and its not reflecting changes , Please suggest
In SP2016 use $webApp.SuiteNavBrandingText.
What @jussipalo:disqus said. Sorry for the confusion, this was written a little over 4 years ago :)
Tobias,
The SP2016 $webApp.SuiteNavBrandingText works well, changing the logo also works, however I'm unable to use the $webApp.SuiteBarBrandingElementHtml to modify the Suite Bar image effectively replacing the whole black bar. Does the image need to be in a specific location or be an exact pixel size to work? I don't get any errors, but after a refresh nothing changes.
Thanks,
Keith
Thanks a lot, Tobias :)
You're welcome @mikhailzhuykov:disqus , thanks for the comment :)
Hello Is it possible to change "SharePoint" text in the top left corner on a single site collection or does it affect all site collections?
Can this be used for Sharepoint 2019?
Work like a Charm in Sharepoint 2013! Thanks Tobias!
I'm glad it's still useful after all these years 😊
This works great on my Server and Enterprise farms, but not on my Foundation farms. Any fix for Foundation?
Hey Tom,
It's almost a decade since I published this post. I am, (un)fortunately not working with SharePoint anymore today. Therefore, I don't have the insights on your question.
I hope you can figure it out - if you do, feel free to update here with a comment and I'll make sure to update the post to include your ideas and give you credit.