Forum Discussion
how to apply branding to modern team site and apply said branding to another site?
Currently the only supported way for branding modern team sites are through custom themes. The article below describes all supported modern team site customizations (among which is Branding)
https://msdn.microsoft.com/en-us/pnp_articles/modern-experience-customizations-customize-sites
As far as I know you should be able to use Apply-PnPProvisioningTemplate or Web.ApplyProvisioningTemplate against a modern team site to apply your custom theme.
paulpascha does the alternate css not work in the modern look?
- paulpaschaFeb 22, 2017Bronze Contributor
I'm note sure. I thought I've read somewhere Alternate CSS isn't loaded for modern team sites. Can't find where I've read that though...
Edit: I've just tried setting an alternate CSS for one of my modern team sites. I can still set it (programmatically) but it is not loaded in the rendered page. I guess the control previously responsible for rendering it is not included in the modern team site pages anymore.
- DeletedFeb 22, 2017
You are correct paulpascha see here https://msdn.microsoft.com/en-us/pnp_articles/modern-experience-customizations-customize-pages
- Nigel PriceFeb 22, 2017Iron Contributor
Hi @Paul Pascha
Can I suggest you look at Bert Jansen's demo at the PnP-Core Sig today. It shows how to do a number of things with Modern team sites. The webcast should be here tomorrow -> https://www.youtube.com/channel/UC_mKdhw-V6CeCM7gTo_Iy7w The code is already in the dev branch of the PnP-Core repository.
Regards
Nigel