Fixing shop sidebar on non-woo pages
authorLaury GvR <laury@gaslightmedia.com>
Tue, 29 Mar 2016 15:40:32 +0000 (11:40 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 29 Mar 2016 15:40:32 +0000 (11:40 -0400)
css/app.css
scss/plugins/_woocommerce.scss

index 7eeb311..47b42f7 100644 (file)
@@ -6533,8 +6533,6 @@ main {
   /* End General CSS */
   /* Product Detail page */
   /* End product detail page */
-  /* Sidebar */
-  /* End sidebar */
   /* Product categories */
   /* End product categories */
   /* Products page */
@@ -7086,12 +7084,6 @@ main {
       height: 35px; }
   .woocommerce .main.woo-single-product #content .product.has-default-attributes.has-children > .images {
     opacity: 1; }
-  .woocommerce #sidebar-category .shop-sidebar ul.products li.current h3 {
-    color: #0f789f; }
-  .woocommerce #sidebar-category .shop-sidebar ul.products li.current:hover h3 {
-    color: white; }
-  .woocommerce .shop-sidebar ul.products > li.product > a > div > img {
-    display: none; }
   .woocommerce #content ul.products li.product-category.product {
     width: 33.33%;
     float: left;
@@ -7186,6 +7178,16 @@ main {
   overflow: hidden;
   width: 0; }
 
+/* Sidebar */
+#sidebar-category .shop-sidebar ul.products li.current h3 {
+  color: #0f789f; }
+#sidebar-category .shop-sidebar ul.products li.current:hover h3 {
+  color: white; }
+
+.shop-sidebar ul.products > li.product > a > div > img {
+  display: none; }
+
+/* End sidebar */
 .home-feed-post {
   padding-bottom: 25px; }
   @media only screen and (max-width: 40em) {
index 7c571c8..bdd8879 100644 (file)
     }
     /* End product detail page */
 
-    /* Sidebar */
-    #sidebar-category .shop-sidebar ul.products li.current {
-        h3 {
-            color: $blue;
-        }
-
-        &:hover h3 {
-            color: white;
-        }
-    }
-    .shop-sidebar ul.products > li.product > a > div > img {
-        display: none;
-    }
-    /* End sidebar */
-
     /* Product categories */
     #content ul.products li.product-category.product {
         width: 33.33%;
     height: 0;
     overflow: hidden;
     width: 0;
-}
\ No newline at end of file
+}
+
+/* Sidebar */
+#sidebar-category .shop-sidebar ul.products li.current {
+    h3 {
+        color: $blue;
+    }
+
+    &:hover h3 {
+        color: white;
+    }
+}
+.shop-sidebar ul.products > li.product > a > div > img {
+    display: none;
+}
+/* End sidebar */