Multiple themes per site?

(Michael Downey) #1

Forgive the newbie question – I am not yet well versed in the theme system.

Is there any way to possibly use multiple themes for the same installation? In other words, for example, have one theme in use for a specific category and another theme be default site-wide/elsewhere?

(Rafael dos Santos Silva) #2

Not themes, but different styles you can. There is a class with the category name on the body.

(Michael Downey) #3

Ah, OK. I’ve done that previously, or something close to it, so am familiar with the idea. Just wondered if there might be a faster way to adopt different styling between categories. Thanks! :slight_smile:

(Rafael dos Santos Silva) #4

With SASS scoped selectors it’s pretty easy:

// put main theme here

body.category-support {
 // paste another theme here