I just stole some code from Zen theme, modified to fit into Basic and got the functionality of adding body classes "page-views" and "page-panels" to the pages that are generated by panels or views. That way, you can style the panel and views pages differently. Here is the code:

  $vars['menu_item'] = menu_get_item();
  switch ($vars['menu_item']['page_callback']) {
    case 'views_page':
      // Is this a Views page?
      $body_classes[] = 'page-views';
      break;
    case 'page_manager_page_execute':
    case 'page_manager_node_view':
    case 'page_manager_contact_site':
      // Is this a Panels page?
      $body_classes[] = 'page-panels';
      break;
  }

This code goes into template.php file just under the line: $body_classes = array($vars['body_classes']);

Hope it helps...

Comments

lil.destro’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

this is fairly specific to certain modules so it's not something we will be adding into basic.