Adding custom body classes to the standard Drupal output
April 20th, 2013 |
|
0 Comments »
Here’s a great trick if you need to add custom classes to the body tag output of your Drupal theme. This goes above the standard body tag output using a line like this in your page.tpl.php <body class=”<?php print $body_classes; ?>”> Which only creates the usual body classes like: <body class=”front logged-in page-node one-sidebar sidebar-right”> [...]

