I want to set the body class of my context with "Theme HTML" reaction. It works on a default theme like Garland. But I have a custom theme and it doesnt work on it.

What does a theme need in order to have this class? I see that on my html.tpl.php, I am printing "$classes" array. Anything else needed?

Comments

angrytoast’s picture

Believe you can set:
<body<?php print $attributes;?>>

in html.tpl.php in your theme and it would output the Context Theme HTML reaction.

Sinan Erdem’s picture

Status: Active » Closed (works as designed)

This was a problem caused by a code that strips most of the classes from body in my theme. Not related with context in any way.