Forum Discussion
Change deafult font in SharePoint Online (modern experience)
Hi Max,
We've explored every option and consulted with Microsoft. Sadly at this point there is no consistent, supported method for doing this. As you say, it possible to change some aspects but not all and certainly not in a way that's easy or maintainable.
Cheers,
Scott
Hi Scott,
did you get any new information on this since July?
If not, can you share the reply given to you by Microsoft?
I found only this one uservoice entry for this specific requirement: https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/34394050-allow-customizing-fonts-in-modern-pages
Did you identify any other information indicating that this would be available in the future?
Thanks,
Thomas
- Chris GrayApr 29, 2019Copper Contributor
- Udaybhanu KarmakarMay 02, 2019Copper Contributor
Chris Gray You need to use SharePoint framework extension application customizer to inject the CSS to your modern SharePoint pages.
Following sample tells you how to inject the CSS:
https://github.com/SharePoint/sp-dev-fx-extensions/tree/master/samples/react-application-injectcss
Oh, and you have to import the fonts at the top of the CSS, from the url you want.
- Radoslav ŠopoňSep 17, 2021Copper Contributor
Udaybhanu Karmakar , solution you propose is not supported, even if viable. You should not use this to modify styling of areas you don't own. The purpose of this is to modify styling of your custom components. If you modify css of areas you don't own, it can break your modern site with some of the next Microsoft updates. Currently there is no solution to change fonts on OOB areas of modern sites. Its very unfortunate, but this is how it works with O365. Please use ms https://support.microsoft.com/en-us/office/uservoice-pages-430e1a78-e016-472a-a10f-dc2a3df3450a, so they have more inputs and use cases. User voice is unfortunately no more available.