You are here

function brainstorm_theme_preprocess_html in Brainstorm profile 7

Implements hook_preprocess_html().

File

themes/brainstorm_theme/template.php, line 312
Process theme data.

Code

function brainstorm_theme_preprocess_html(&$variables) {
  $path = drupal_get_path_alias();
  switch ($path) {
    case 'about-us':
      $variables['classes_array'][] = 'page-about-us';
      break;
    case 'contact-us':
      $variables['classes_array'][] = 'page-contact';
      break;
    case 'typography':
      $variables['classes_array'][] = 'page-typography';
      break;
    default:
      break;
  }
}