Forum Discussion
Lee-Martin
Jan 10, 2023Brass Contributor
No full width column option in subsite?
I've created a subsite for my communications night, and I need to create a full width column to house my hero content? Is there any reason why this is not available to me? Thanks
SvenSieverding
Jan 10, 2023Bronze Contributor
Lee-Martin
How did you create the subsite? Through the UI?
Then you most likely created a team site, not a communication site.
Full-Width sections are not available on team sites.
There does not seem to be an option in the UI to create a communication site as a subsite.
So you need to use PNP PowerShell to connect to the parent site and execute these commands:
$Locale = 1031 #1033 English /1031 German
$SiteUrl= "MySubsite"
$Template = "SITEPAGEPUBLISHING#0" #Communication Site
New-PnPWeb -Title $SiteUrl -Url $SiteURL -Locale $Locale -Template $Template
Best Regards,
Sven
- Lee-MartinJan 10, 2023Brass ContributorThanks, I just created the subsite through the UI as the main site is a Communication site - can I just add a Communication site as a subsite using these commands?
- SvenSieverdingJan 10, 2023Bronze Contributor
Hi Lee-Martin,
yes, you need to connect to the main site using PNP Powerhshell and then execute the upper commands to create a communication subsite.
Best Regards,Sven
- Lee-MartinJan 11, 2023Brass ContributorSvenSieverding is there a command to do this via SharePoint PowerShell?