Forum Discussion
Communications Sites Custom Branding (CSS/JS)
Hello, I have some custimizations I have made to a sharepoint site using a master page with custom CSS & files. However, these changes dont appear to affect communication sites (see attached screenshots below).
I have been reading about the Sharepoint PnP and am having trouble running the samples in the Sharepoint PnP Github repo.
I am wondering though if the CSOM customization methods (Described in the Sharepoint PnP) would allow me to make the customizations carry over to the new Communications Sites or if that is not even possible? Specifically I am trying to add in my own stylesheet and JS like I have done successfully.
with the master page.
- And by the way, avoid to touch / modify directly SPO master pages
- adamCopper Contributor
Thanks jcgonzalezmartin, I guess I agree with that -
Modifications to the master page dont have any effect on the modern pages, so yea, making modifications to the master page will make for a sloppy UX. I just wish I had known that when I started my effort to customize our site.
I'm glad Pieter Veenstra helped point me in the right direction. It sounds like SP Extensions is the right path forward for future customizations, once that feature is available to the general public. I found a decent video demoing an introduction to this process (Application Customizers) by Tony Philips
For now I will familiarize myself with the SPFx framework and hopefully accomplish some of what I need via a custom Webpart.
Hi adam,
Communicatiuon sites don't support branding yet.
you will want to use SPFx Extensions to sort out branding, however this hasn't gone GA yet. You can try this out in developer tenants.
See the screenshot near the end of the article.
- adamCopper Contributor
Thanks Pieter Veenstra for the speedy reply. I will give this a shot.
I guess that means I wont be able to deploy to our company's new communication site yet until it is made GA?