Center content on modern page in root sitecollection

Copper Contributor

Hi

 

I have used Mikael Svensons recipe to create a modern welcome page in SPO root site.

 

However the content is left aligned, instead of center aligned on the Modern Communications Site.

 

With F12 tool, I can see that in the Comminications Site, the CanvasZone DIV has class CanvasZone--centerAlign, and my root site does not.

 

Does anyone know of any way to fix that?

 

Morten

2 Replies
We are getting the ability to convert the root site collection to a communication site template soon. It can be done via power shell when it releases. Until then we are kind of stuck with the regular page template.

@Morten Pedersen  - I found the following (not had a chance to follow it up yet but it might fix the same width issue that we have).  https://devscopeninjas.azurewebsites.net/2018/12/28/make-your-team-site-look-like-a-communication-si...