logo
search
Others

How to Apply Custom Themes and Fonts in SharePoint Server Subscription Edition

Nimra MalikNimra Malik Oct 13, 2026 871 views

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.

How to Apply Custom Themes and Fonts in SharePoint Server Subscription Edition
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.
Before you start

Verify that you have administrative privileges for your SharePoint Server Subscription Edition environment and a basic understanding of SharePoint Framework (SPFx) development.

Solution 1Recommended

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.

1
Set up the development environment

Install Node.js, Yeoman, and the SharePoint Framework (SPFx) Yeoman generator on your workstation to prepare for customizer creation.

2
Create the application customizer

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.

3
Inject custom typography CSS

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.

4
Deploy to the App Catalog

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.

Implement an SPFx Application Customizer
SPFx Compatibility: Ensure you are using the correct version of the SharePoint Framework that is compatible with SharePoint Server Subscription Edition (typically SPFx v1.4.1 or specifically documented server versions).
Free Microsoft Office alternative

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. 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 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. 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.
Seamlessly compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Easily format text and utilize custom fonts in your documents without writing code or scripts.Lightweight installation with a familiar, tabbed user interface for instant productivity.Built-in PDF editing tools for secure document sharing and team collaboration.
microsoft office alternative - wps office

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.