This Application customizer lets you override any and all CSS on SharePoint pages across the site collection. Create a Document library named 'Styling' under /sites/cdn/ and place your CSS file named PolStyler.css there. The path can also be configured, see further down on this page for examples.
Add the Pol.Styler app to your SharePoint sites to enjoy the style of the day for the sites you choose to add it to.
SharePoint Administrator for app catalog deployment. We recommend that site owners add the extention manually per site.
| Solution | Author(s) |
|---|---|
| Pol.Styler | Pål Olav Loftesnes (www.paalolav.no) |
| Version | Date | Comments |
|---|---|---|
| 1.2 | April 10, 2025 | Rebrand, update to SPFX 1.20 |
| 1.1 | September 17, 2024 | Flexible CSS path |
| 1.0 | August 24, 2023 | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Clone this repository
- Ensure that you are at the solution folder
- in the command-line run:
npm installgulp bundle --ship
gulp package-solution --shipgulp serveExtension that enables you to add CSS styling to any SharePoint site. Using the sample file, we remove the site header for all news stories in the OOTB News web part.
Before Pol.Ext.Styler is installed:
After Pol.Ext.Styler is installed:
Here we've added border radius to the weather web part and changed colours and border radius on the Quick Links web part:
The path to the CSS file can be configured per site, making it possible to load different CSS files for different sites. The file is loaded as a ClientSideComponentProperty of the PolStyler Custom Action.
See example configuration:



