From 067f922f27cea7b0ef0962f0d46aa2d11748658d Mon Sep 17 00:00:00 2001
From: Jared Stoneberg <rocksoup@gmail.com>
Date: Fri, 11 Mar 2011 12:15:25 -0800
Subject: [PATCH] Issue #1080630 by rock_soup: Fixing layout issues with CSS - class names had changed.

---
 css/layout.css         |   16 +++++++++-------
 templates/page.tpl.php |    2 +-
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/css/layout.css b/css/layout.css
index 58b4965..789f44d 100644
--- a/css/layout.css
+++ b/css/layout.css
@@ -25,11 +25,13 @@
   padding: 0;
 }
 
-.sidebar {
+.sidebar,
+#sidebar_first,
+#sidebar_second{
   float: left;
 }
 
-#sidebar-second {
+#sidebar_second {
   float: right;
 }
 
@@ -54,18 +56,18 @@
  * Make sure you keep negative values as negative values.
  * For example, if I want to increase the width of the left sidebar
  * to 300px, I would have to change each '190' to '300'. */
-.two-sidebars .center,
-.sidebar-first .center {
+.two-sidebars #content-wrapper,
+.sidebar-first #content-wrapper{
   margin-left: 190px;
 }
 
-#sidebar-first {
+#sidebar_first {
   width: 190px;
   margin-right: -190px;
 }
 
-.two-sidebars .center,
-.sidebar-second .center {
+.two-sidebars #content-wrapper,
+.sidebar-second #content-wrapper{
   margin-right: 200px;
 }
 
diff --git a/templates/page.tpl.php b/templates/page.tpl.php
index c78ccb2..916162f 100644
--- a/templates/page.tpl.php
+++ b/templates/page.tpl.php
@@ -49,7 +49,7 @@
 
     <div id="main-wrapper" class="clearfix">
 
-      <div role="main">
+      <div role="main" id="content-wrapper">
         <?php print render($page['highlighted']); ?>
         <a id="main-content"></a>
         <?php print render($title_prefix); ?>
-- 
1.7.2.3

