How to Apply Custom Themes and Fonts in SharePoint Server Subscription Edition
Question details
The user needs to apply custom company themes and fonts to modern pages in SharePoint Server Subscription Edition, as standard SharePoint Online commands are not working.

- Product
- SharePoint Server Subscription Edition
- Device & OS
- not provided
- Scenario
- Administrators are trying to brand modern SharePoint pages with specific company themes and typography.
- Observed behavior
- PowerShell commands documented for SharePoint Online branding are not available or do not work in the SharePoint Server environment.
Verify that you have administrative privileges for your SharePoint Server Subscription Edition environment and a basic understanding of SharePoint Framework (SPFx) development.
Implement an SPFx Application Customizer
Since native SharePoint Online PowerShell commands are unsupported on the server edition, using a SharePoint Framework (SPFx) Application Customizer is the officially supported way to inject custom CSS for fonts on modern pages.
Modern experiences in SharePoint Server do not natively support classic master page CSS injection. An SPFx Application Customizer acts as a script editor that safely loads your custom CSS globally across modern site pages without breaking core functionality.
Install Node.js, Yeoman, and the SharePoint Framework (SPFx) Yeoman generator on your workstation to prepare for customizer creation.
Run the SPFx Yeoman generator in your command line terminal to create a new extension project, selecting 'Application Customizer' when prompted for the extension type.
Edit the customizer's TypeScript file to dynamically inject a custom CSS stylesheet into the modern page's header, defining your specific company font families.
Bundle and package your SPFx solution, then upload the generated .sppkg file to your SharePoint Server App Catalog and deploy it to the necessary site collections.

Consult the SharePoint Server Management Community
Because SharePoint Server has distinct architectural differences from SharePoint Online, utilizing specialized server forums can provide tailored administrative scripts and branding workarounds.
Looking for a Lightweight Office Suite Alternative?
While managing SharePoint Server branding requires complex administrative tools, creating your daily business documents shouldn't be difficult. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office for writing, calculating, and presenting your work before you upload it to your company portal.
- 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the suite on your device in minutes.
- 3. Create and edit documents: Open your existing Microsoft Office files or start a new document using your custom company fonts directly within the WPS editor.

Frequently Asked Questions
Can I use SharePoint Online PowerShell commands to theme SharePoint Server?
Generally, no. SharePoint Server Subscription Edition has different underlying branding capabilities. Many PowerShell cmdlets designed specifically for SharePoint Online's modern experiences are not available or will return errors when executed in a SharePoint Server environment.
What is the recommended method to add custom fonts to modern SharePoint pages?
The most robust and officially supported method for applying custom fonts to modern experiences in SharePoint is by building and deploying a SharePoint Framework (SPFx) Application Customizer to inject your custom CSS.
Where can I find support for SharePoint Server Subscription Edition issues?
For dedicated administrative support, it is best to post your questions in the Microsoft Q&A community under the 'SharePoint Server' and 'SharePoint Server Management' categories, rather than general SharePoint Online forums.




