Forum Discussion

Lee-Martin's avatar
Lee-Martin
Brass Contributor
Jan 10, 2023

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

 

17 Replies

  • Lee-Martin What is the outcome goal you were trying to get to when you created the subsite in the first place? Modern site architectures are "flat" - so communication sites are not designed to have subsites. In fact, you cannot create a communication site that is a subsite so if you did create a subsite, it is a team site. As a best practice, I would not recommend creating subsites - even if you technically can. (I almost always disable subsite creation at the tenant level.) Instead, I would ask why you created the subsite? If you are looking to make a relationship between two sites, consider making one a hub and associating the other site to it. That way, both sites are communication sites - with the benefit of the full width section you want - and you can share navigation and search scope and theme without having to use subsites. But, you get the benefit of governance and permissions independence. If all you want to do is surface content from Site A on Site B, you may be able to use the News or Highlighted Content web parts on Site B and select Site A as the source. See: Planning your SharePoint hub sites - SharePoint in Microsoft 365 | Microsoft Learn. For fun, you can also take a look at Goodnight, Subsites a holiday story for IT (microsoft.com).

    • Lee-Martin's avatar
      Lee-Martin
      Brass Contributor
      SusanHanley

      I originally wanted one site, however I have a requirement that different sections require different branding, and as you cannot use multiple themes, subsites is my solution - I have been explicitly told not to use hubs
      • SusanHanley's avatar
        SusanHanley
        MVP
        If you want to use different branding and you can't make it so that all sites share the same theme as you would get with a hub, I would still not use subsites. You will have a much more "future proof" scenario if you make separate sites and connect the sites with links and roll up web parts (e.g. News, Highlighted Content, and Events). Another option is to use pages on the same site (assuming you need to share lookup lists or there is some specific reason you can't use separate sites) and rather than have a different theme for each element, use unique imagery to differentiate the concepts. You could use a consistent header image and overlay text for assets or content that go together to get the outcome you are looking for. I wouldn't let colors or theme drive a decision to use a legacy architecture structure when there are other ways to get that outcome without the dreaded "s" word!
    • Lee-Martin's avatar
      Lee-Martin
      Brass Contributor
      Adnan_Amin

      It's layout on a page

      Where do I get to change the JSON? I do not appear to have that option
  • SvenSieverding's avatar
    SvenSieverding
    Bronze 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-Martin's avatar
      Lee-Martin
      Brass Contributor
      Thanks, 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?
      • SvenSieverding's avatar
        SvenSieverding
        Bronze 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

Resources