Adding a css class to body tag

Tweet, share & co

tweet fb share g+ share

Tags


Description

Adding a class via layout XML

Code

<reference name="root">
    <action method="addBodyClass"><classname>my_class_name</classname></action>
</reference>

Comments