1

Is it possible to add a different theme for the Header and a different theme for the body / main content..?

In SXA, it is allowed to do it but in the Header partial view using the Experience editor, and shows that theme in the partial view but when comes to the complete Page view, the Main site theme overrides the Header theme.

1 Answer 1

1

No, this is not possible. But you can try to mimic this behaviour by:

  • having three themes - header, body and footer

  • each of the above themes will target different root CSS elements like #header, #content, #footer

    enter image description here

  • one main theme which you will assign to the page and which will inherit from the above three

Thanks to such a trick you will have the logical separation you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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