May 07 2018 01:09 AM
May 07 2018 01:09 AM
We have a requirement to be able change the default font in SPO for our new Intranet which is using the modern experience. I've can't see a way to do this OOTB. Is it possible to do a (supported) CSS override? Does anyone have any experience of doing this an if so, how has this gone e.g. page content vs. web parts etc.
May 07 2018 03:34 AM
May 07 2018 05:02 PM
Thanks Juan.
Yes, we've looked at that. You can specify a different font, but it is only respected on classic sites, not modern sites unfortunately.
Jul 20 2018 04:53 AM
Hi Scott,
Did you find a way to change the global font for a SP site collection? We also have this requirement and whilst I can change fonts in any custom webpart, it doesn't seem you can do this globally. Perhaps, we could with an extension but this seems a bit hacky...
-Max
Jul 20 2018 05:58 PM
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
Nov 19 2018 04:27 AM
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-cu...
Did you identify any other information indicating that this would be available in the future?
Thanks,
Thomas
Apr 29 2019 06:15 PM
May 02 2019 07:42 PM - edited May 03 2019 08:38 AM
@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.
Sep 17 2021 12:24 AM
@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 feedback channels, so they have more inputs and use cases. User voice is unfortunately no more available.
Jul 05 2022 07:28 AM
Why is this even an issue, Microsoft? It's about the most basic of requests, a fundamental style choice but it's unsupported? Just do away with the whole 'Change the Look' and make it 'Style Settings' that let you pick variables to be fed in to the CSS. That's 1997 technology... c'mon.
Sep 07 2022 06:45 PM
@VNJoe Font is an identity for organizations. There should more attention brought to this feature request. What can we do?
Sep 07 2022 07:17 PM