I have SP 2019 On-Premise Modern site where I want to change Branding text from SharePoint to something else. How could I do it?enter image description here

2 Answers 2


You can add the following css in master page to change Branding text from SharePoint to something else.

<style type="text/css">
.o365cs-nav-brandingText{ display: none !important;}

But it only works in classic page, which is not working in Modern Experience.

Unfortunately, in Modern Experience, you can't customize the default list page to add JS or custom CSS as we did in classic mode.

New Modern page doesn't have any master page associated and it has been created using the Theme's and it has no option to customize anything like what you did with your classic site.


I want to share answer on the same question provided by Lee_MSFT. https://sharepoint.stackexchange.com/a/262946/63460

You could create SPFx Application Customizer to inject custom CSS to hide element.

Check below threads for demos.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.