Aug 10 2017 08:03 AM
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.
Aug 10 2017 08:12 AM
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.
Aug 10 2017 08:57 AM
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?
Aug 10 2017 08:58 AM
Aug 10 2017 01:13 PM
Aug 10 2017 01:33 PM - edited Aug 10 2017 01:34 PM
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.
Jun 02 2021 04:54 AM
hi
Do you find a solution to custumize a communication site with css ?
I want to inject some css to change h1 and h2 tags
Thanks for your help