Forum Discussion
Customize SuiteBar on modern SharePoint online site
- Nov 21, 2019Customizing the top bar is not supported, and if you do figure out a way, there is a good chance that it will be broken by a future update from Microsoft. That is their bar and you just leave it alone.
Beau Cameron Is there anyways to add security around the top suite bar so that only admins can see this and not the users in members group?
Also is it even possible to take these icons on far right on bar below the top suite bar?
Hi Snehal,we might need to do an application customizer as explained in this link
http://thomasdaly.net/2018/05/14/trimming-the-suite-bar-ribbon-on-modern-sharepoint-sites-in-office-365/
- Snehal_RanaNov 21, 2019Copper Contributor
O365Developer I was able to customize the background color of the SuiteBar and also was able to add my custom logo on the site as per the image shown below:
But I am still not able to hide the text "SharePoint" with custom text. I used standard admin functionality of "Manage custom themes for your organization" from Organization Profile in Admin Center
Any suggestions on how this can be accomplished using the PNP or CSS/Javascript injection?
- chanduMossSep 26, 2022Copper Contributor
Snehal_Rana How did you add the custom logo?could you please share the thought.
- ganeshsanapSep 26, 2022MVP
chanduMoss Snehal_Rana Here are few similar threads about inject custom CSS/JS to SharePoint modern pages which might help you:
- How can I include the same JS and CSS files on multiple SharePoint Modern Page?
- Hiding Office 365 Ribbon in SharePoint
Note: DOM manipulation & CSS customizations are not recommended by Microsoft and some of your customization may break if Microsoft changes HTML element id/classes in new release updates.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- Dean_GrossNov 21, 2019Silver ContributorCustomizing the top bar is not supported, and if you do figure out a way, there is a good chance that it will be broken by a future update from Microsoft. That is their bar and you just leave it alone.
- O365DeveloperNov 21, 2019Brass Contributor
Hi Snehal,
Thats not recommended and whatever Dean_Gross said is right ,it might break in future even if you do that ,