0

Is it possible to add different theme for Header and different theme for body / main content..? In SXA, it is allowed to do it but in Header partial view using Experience editor and shows that theme in the partial view but when comes to the complete Page view, 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 that you have read and understand our privacy policy and code of conduct.

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