3

I want few pages to be accessed by guest profile to follow different styles and some for authenticated users. Header image to be varied for two different users. How can I achieve this? If I change the CSS on the branding it reflects the entire community but i want it to reflect only on the specific pages.

  • were you able to setup the custom theme layouts as mentioned below? – glls May 8 '17 at 4:34
  • yes by following the below method. It worked well. – ləːnə May 9 '17 at 8:25
3

You can create a Custom Theme Layout which basically involves creating a lightning component, referenced here

and add the New Theme Layout through the community Settings: enter image description here

You will then want to create a Page Variation which you can assign to different profiles referenced here Page variations allow you to specify what profiles access what page. From the community builder, select the page you want to create a variation and select the cogwheel (settings) that appears next to it: enter image description here from there, you want to create the page variation and save it. This will allow you to select the audience criteria under the page settings: enter image description here

and select the profile that should be directed to the page variation: enter image description here

Now, Once you created your Custom Layout (so pages are different from one to another based on profile) you want to go to each of your page variations and select page properties under each: enter image description here and assign a Theme layout to each page variation (make sure the correct page variation is selected when you do this) enter image description here

Repeat for each page that requires a variation and a different layout.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.