From 53747a0f465690d465329944e10e8e5d6a4c9863 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 29 Mar 2016 15:28:13 -0400 Subject: [PATCH] Style fixes for sidebar, title, header links --- css/app.css | 84 +++++++++++++++--------- header.php | 22 +++++-- parts/shop-sidebar.php | 28 ++------ scss/_page.header.scss | 2 +- scss/plugins/_woocommerce.scss | 116 ++++++++++++++++++++------------- 5 files changed, 147 insertions(+), 105 deletions(-) diff --git a/css/app.css b/css/app.css index 1b2961e..dfe9ec5 100644 --- a/css/app.css +++ b/css/app.css @@ -6340,7 +6340,7 @@ header { text-align: center; background: url(../assets/repeating-pattern.jpg); padding: 5px 0; - width: 224px; } + width: 324px; } header #top-line #cart-login ul { list-style: none; margin: 0; } @@ -6529,6 +6529,8 @@ main { /* WooCommerce */ .woocommerce { font-family: Arial; + /* Sidebar */ + /* End sidebar */ /* General CSS */ /* End General CSS */ /* Product Detail page */ @@ -6565,24 +6567,6 @@ main { text-align: center; } .woocommerce #woo-quick-display p { margin-bottom: 0; } - .woocommerce #woo-quick-cart-icon img { - /* margin: 13px 0 0 13px;*/ - width: 24px; } - .woocommerce #woo-quick-cart-icon > div { - float: left; } - .woocommerce .woo-quick-cart-image { - float: left; } - @media only screen and (max-width: 40em) { - .woocommerce .woo-quick-cart-image { - margin-left: 20px; } } - .woocommerce .woo-quick-cart-totals { - width: 105px; } - @media only screen and (min-width:40.063em) { - .woocommerce .woo-quick-cart-totals { - margin-left: 30px; - margin-top: 10px; } } - .woocommerce #woo-quick-checkout button { - float: right; } .woocommerce ul.products, .woocommerce .products ol, .woocommerce .products dl { list-style-type: none; } .woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-noreviews, .woocommerce p.no-comments { @@ -6798,16 +6782,18 @@ main { box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.8); } .woocommerce #content-wrapper.woocommerce-wrapper .main.woo-single-product { padding: 20px 3%; } - .woocommerce .shop-sidebar .columns-1 ul.products > li.product { + .woocommerce .shop-sidebar { + margin-bottom: 20px; } + .woocommerce .shop-sidebar ul.products > li.product { width: 100%; margin-bottom: 0px; background-color: white; } - .woocommerce .shop-sidebar .columns-1 ul.products { + .woocommerce .shop-sidebar ul.products { margin-top: 0; } - .woocommerce .shop-sidebar .columns-1 ul.products > li.product h3 { + .woocommerce .shop-sidebar ul.products > li.product > a > h3 { + padding: 5px 0; text-align: left; - padding: 5px 0 5px 35px; - font-weight: normal; + font-weight: bold; color: white; line-height: 1.1; } .woocommerce .shop-sidebar { @@ -6827,6 +6813,12 @@ main { .woocommerce .shop-sidebar > li a { color: white; text-transform: uppercase; } + .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 nav.top-bar .top-bar-section > ul > li.drop > ul.dropdown .woocommerce .products { position: inherit; border: 0 !important; } @@ -7088,6 +7080,8 @@ main { height: 35px; } .woocommerce .main.woo-single-product #content .product.has-default-attributes.has-children > .images { opacity: 1; } + .woocommerce .main.woo-single-product #content .entry-summary .product_title { + margin-bottom: 10px; } .woocommerce #content ul.products li.product-category.product { width: 33.33%; float: left; @@ -7175,6 +7169,8 @@ main { text-decoration: none; } .woocommerce #content ul.products a:hover { text-shadow: none; } + .woocommerce header.title { + box-shadow: none; } /* End WooCommerce */ .pp_content .pp_gallery { @@ -7182,16 +7178,40 @@ 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; } +#woo-quick-cart-image img { + /* margin: 13px 0 0 13px;*/ + width: 24px; } +#woo-quick-cart-image > div { + float: left; } -.shop-sidebar ul.products > li.product > a > div > img { - display: none; } +#woo-quick-cart-image { + clear: none; + display: block; + float: left; + height: 30px; + padding: 2px; + width: 25px; } + +.woo-quick-cart-totals { + width: 105px; } + @media only screen and (min-width:40.063em) { + .woo-quick-cart-totals { + margin-left: 30px; + margin-top: 10px; } } + +#woo-quick-checkout button { + float: right; } + +#cart-login > div { + float: left; + display: block; + text-align: center; + padding: 0 5px; } +#cart-login a { + color: black; } +#cart-login a:hover { + color: #0f789f; } -/* End sidebar */ .home-feed-post { padding-bottom: 25px; } @media only screen and (max-width: 40em) { diff --git a/header.php b/header.php index 1852562..4a40fcd 100644 --- a/header.php +++ b/header.php @@ -16,10 +16,24 @@
- +
+ + + + +
+
+ View Cart | +
+
+ + + | Log Out + + + +
888-676-Lama
diff --git a/parts/shop-sidebar.php b/parts/shop-sidebar.php index a6fb76c..f16023f 100644 --- a/parts/shop-sidebar.php +++ b/parts/shop-sidebar.php @@ -1,31 +1,11 @@ - +