Magento add new class accourding to your module and you
add class with php
if ($root = $this->getLayout()->getBlock('root')) {
$root->addBodyClass('whatever');
}
and xml
<reference name="root">
<action method="addBodyClass"><classname>whatever</classname></action>
</reference>
Puneet Kumar Magento Developer
Leave a Reply
Want to join the discussion?Feel free to contribute!