Add class to page content output
You can do that in a module/theme by adding a region preprocess hook:

function MYTHEME_preprocess_region(&amp;$vars) {
  if ($vars['region'] == 'content') {
    $vars['classes_array'][] = 'foo';
  }
}