Sub-site Branding

Julian C. asked on June 28, 2018 23:34

Is there any way I can apply a separate branding for a sub-site? When I say sub-site I mean a top level page and all its sub-pages. Examples: www.example.com/MySubSite/page1 www.example.com/MySubSite/page2 www.example.com/MySubSite/page3

So, MySubSite would have a totally different branding then parent site.

I know I can create a separate site so I can have a separate masterpage hence full control over the branding but I cannot do that. It has to be a sub-site.

Is there any way I can force a different masterpage for MySubSite and its sub-pages without affecting the parent masterpage?

Correct Answer

David te Kloese answered on June 29, 2018 13:05

Hi Julian,

Every page is connected to a template and that template can be a master page (it's just a checkbox). So in theory every page on your system could have it's own master page.

Also you can select on a template which Master page it should inherit (all, just nearest one, or specific level).

https://content.screencast.com/users/DavidTK/folders/Jing/media/80b8c9b8-654c-4dfe-a7fe-0de415643865/2018-06-29_1304.png

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on June 29, 2018 15:34

From a licensing perspective, you cannot legally do that without having another license for that subsite.

From a technical perspective what we've done in the past (simply to update the parent logo area with a sub parent logo and name) is:

  • clone your existing master page template and rename it to your subsite masterpage template. You will use this for all subsites.
  • update all the css, js and other references for your new style/design
  • create a custom page type called Subsite and add a few fields to it like Name, LogoUrl, etc.
  • add a new subsite below the root level of the site
  • on the new master page template, add a repeater for the logo section and grab the logo from the Subsite page type property LogoUrl
  • continue on doing the similar thing with the other subsite page type properties.

PRO TIP:
For the paths in your webparts, make sure you use dynamic values. For instance, /{0}/%. If you're on /Subsite-1/Home it will return all pages below /Subsite-1. If you're on /Subsite-3/About/Contact-Us it will return all the pages below /Subsite-3. This will allow you to have one set of subsite templates and use for all subsites without having to create a new set of tempaltes for each subsite.

1 votesVote for this answer Mark as a Correct answer

Julian C. answered on July 2, 2018 23:45

Thanks David and Brenden for the answers. I tried both options and David's suggestion worked for me. So, it is possible to have a subsite with its own branding and master page.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on July 2, 2018 23:52

Keep in mind Julian, what you're describing goes directly against a single site license agreement so best check with your Kentico Sales person or Kentico Partner before you go too far.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on July 3, 2018 10:01

I agree with what Brenden says! Just consult with Kentico about your intentions...

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.