Created
January 5, 2018 12:50
-
-
Save akther80/58ebae9b23220c7336fa9f5a90ff2ba4 to your computer and use it in GitHub Desktop.
Electro single product custom work css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .single-product .product-header { | |
| border-top: 1px solid #2878c1; | |
| border-bottom: 1px solid #2878c1; | |
| padding: 28px 0; | |
| margin-bottom: 29px; | |
| } | |
| .single-product .product-header { | |
| display: flex; | |
| justify-content: space-between; | |
| } | |
| .single-product .product-header .clear { | |
| display: none; | |
| } | |
| .single-product .product-header .previous-page-btn a, | |
| .single-product .product-header .yith-wcwl-add-to-wishlist a { | |
| border: 2px solid #2878c1; | |
| padding: 7px 9px; | |
| border-radius: 3px; | |
| display: block; | |
| min-width: 140px; | |
| text-align: center; | |
| } | |
| .single-product .product-header .previous-page-btn a:hover, | |
| .single-product .product-header .yith-wcwl-add-to-wishlist a:hover { | |
| background: #2878c1; | |
| color: #fff; | |
| } | |
| .single-product .product-header .product-info { | |
| text-align: center; | |
| } | |
| .single-product .product-header .product-info .woocommerce-product-details__short-description { | |
| color: #ababab; | |
| margin-bottom: 0; | |
| display: inline-block; | |
| } | |
| .single-product .product-header .product-info .woocommerce-product-details__short-description ul, | |
| .single-product .product-header .product-info .woocommerce-product-details__short-description p { | |
| margin-bottom: 0; | |
| } | |
| .single-product .product-images-gallery { | |
| display: flex; | |
| } | |
| .single-product .woocommerce-product-gallery { | |
| width: 73%; | |
| display: flex; | |
| overflow: hidden; | |
| } | |
| .single-product .upsells-products { | |
| width: 27%; | |
| } | |
| .single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { | |
| display: none; | |
| } | |
| .single-product .woocommerce-product-gallery .flex-viewport { | |
| width: 66.66%; | |
| order: 2 | |
| } | |
| .single-product .woocommerce-product-gallery .flex-control-thumbs { | |
| width: 33.33%; | |
| flex-direction: column; | |
| max-height: 550px; | |
| } | |
| .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li { | |
| width: 100%; | |
| display: block; | |
| } | |
| .single-product .woocommerce-product-gallery .flex-control-thumbs li img { | |
| width: 100px; | |
| } | |
| .single-product .section-products-carousel.upsells-products header .owl-nav{ | |
| line-height: 3em; | |
| } | |
| .single-product .section-products-carousel.upsells-products header a, | |
| .single-product .section-products-carousel.related-products header a{ | |
| font-size: 2em; | |
| } | |
| .single-product .section-products-carousel.upsells-products header a { | |
| color: #0098d3; | |
| } | |
| .single-product .section-products-carousel.related-products header a { | |
| color: #b8b8b8; | |
| } | |
| .single-product .section-products-carousel.upsells-products header a+a:before, | |
| .single-product .section-products-carousel.related-products header a+a:before{ | |
| content: "|"; | |
| display: inline-block; | |
| position: relative; | |
| right: 7px; | |
| top: 0; | |
| font-size: 17px; | |
| text-align: center; | |
| vertical-align: top; | |
| } | |
| .single-product .section-products-carousel.upsells-products header { | |
| border-bottom: none; | |
| } | |
| .single-product .section-products-carousel.upsells-products header .h1 { | |
| padding-bottom: 0; | |
| color: #0079c2; | |
| } | |
| .single-product .section-products-carousel.upsells-products header .h1:after { | |
| content: none; | |
| } | |
| .single-product .section-products-carousel.upsells-products .products .owl-dots, | |
| .single-product .section-products-carousel.related-products .products .owl-dots{ | |
| display: none; | |
| } | |
| .single-product .entry-summary { | |
| display: flex; | |
| flex-wrap: wrap; | |
| border-top: 1px solid #2878c1; | |
| padding-top: 30px; | |
| margin-bottom: 40px; | |
| } | |
| .single-product .entry-summary > div { | |
| width: 31%; | |
| border-right: 2px dotted #327cab; | |
| padding-right: 37px; | |
| margin-right: 37px; | |
| } | |
| .single-product .entry-summary > div:last-child { | |
| border-right: none; | |
| padding-right: 0; | |
| margin-right: 0; | |
| } | |
| .single-product .entry-summary > div h2 { | |
| border-bottom: 1px solid #0079c0; | |
| text-align: center; | |
| position: relative; | |
| padding-bottom: 15px; | |
| font-size: 25px; | |
| margin-bottom: 30px; | |
| } | |
| .single-product .entry-summary > div h2:before { | |
| content: ""; | |
| display: block; | |
| position: absolute; | |
| left: 0; | |
| bottom: 0; | |
| width: 100%; | |
| height: 1px; | |
| background: #acacac; | |
| } | |
| .single-product .woocommerce-variation-price { | |
| text-align: right; | |
| } | |
| .single-product table.shop_attributes tbody tr:nth-of-type(odd) { | |
| background: transparent; | |
| } | |
| .single-product table.shop_attributes tbody tr:first-child td, | |
| .single-product table.shop_attributes tbody tr:first-child th, | |
| .single-product table.variations tbody tr:first-child td, | |
| .single-product table.variations tbody tr:first-child th{ | |
| border-top: none; | |
| } | |
| .single-product table.shop_attributes tbody tr:first-child th, | |
| .single-product table.variations tbody tr td.label { | |
| padding: 0 .75rem .75rem 0; | |
| } | |
| .single-product table.shop_attributes tbody tr:first-child td { | |
| padding: 0 .75rem .75rem .75rem; | |
| } | |
| .single-product table.shop_attributes tbody tr td, | |
| .single-product table.shop_attributes tbody tr th, | |
| .single-product table.variations tbody tr th, | |
| .single-product table.variations tbody tr td { | |
| border-top: 2px dotted #95aed6; | |
| } | |
| .single-product table.shop_attributes tbody tr th, | |
| .single-product table.variations tbody tr th{ | |
| padding: .75rem .75rem .75rem 0; | |
| } | |
| .single-product .entry-summary .price-details .label { | |
| text-align: left; | |
| border-radius: 0; | |
| padding: 0; | |
| font-weight: 400; | |
| font-size: 16px; | |
| color: #666666; | |
| width: 42%; | |
| } | |
| .single-product .entry-summary .price-details .regular-price .woocommerce-Price-amount, | |
| .single-product .entry-summary .price-details .savings .percentage, | |
| .single-product .woocommerce-variation-price .price del { | |
| color: #353535; | |
| font-weight: 700; | |
| font-size: 20px; | |
| } | |
| .single-product .woocommerce-variation-price .price del { | |
| font-weight: 400; | |
| } | |
| .single-product .entry-summary .price-details .regular-price, | |
| .single-product .entry-summary .price-details .sale-price { | |
| padding-bottom: 25px; | |
| } | |
| .single-product .entry-summary .price-details .sale-price { | |
| margin-bottom: 25px; | |
| border-bottom: 2px dotted #95aed6; | |
| } | |
| .single-product .entry-summary .price-details .sale-price .label { | |
| color: #fe4d47; | |
| } | |
| .single-product .entry-summary .price-details .sale-price .woocommerce-Price-amount, | |
| .single-product .woocommerce-variation-price .price { | |
| color: #ff3c36; | |
| font-weight: 700; | |
| font-size: 30px; | |
| } | |
| .single-product .entry-summary .price-details .savings .percentage { | |
| color: #ff3c36; | |
| } | |
| .single-product .cart .quantity { | |
| width: 100%; | |
| padding-bottom: 20px; | |
| margin-bottom: 25px; | |
| border-bottom: 2px dotted #95aed6; | |
| } | |
| .single-product .cart .quantity .input-text { | |
| border-radius: 0; | |
| border-color: #2878c1; | |
| } | |
| .single-product .cart .single_add_to_cart_button.button { | |
| border-radius: 5px; | |
| padding: 15px 20px; | |
| height: 50px; | |
| width: 49%; | |
| background: #0079c2; | |
| } | |
| .single-product .cart .single_add_to_cart_button.button:before { | |
| content: none; | |
| } | |
| .single-product .quick_buy_container { | |
| position: absolute; | |
| right: 0; | |
| bottom: 0; | |
| width: 49%; | |
| } | |
| .single-product .add-to-cart-form .form-inner { | |
| position: relative; | |
| } | |
| .single-product .quick_buy_container input[type=button] { | |
| padding: 10px 20px; | |
| font-size: 1em; | |
| border-radius: 5px; | |
| font-weight: 700; | |
| height: 50px; | |
| background: #fe3325; | |
| color: #fff; | |
| width: 100%; | |
| text-align: center; | |
| } | |
| .single-product .add-to-cart-form .yith-wcwl-add-to-wishlist a { | |
| display: block; | |
| width: 100%; | |
| text-align: center; | |
| font-size: 1em; | |
| font-weight: 700; | |
| background: #528ddd; | |
| height: 50px; | |
| padding: 13px 16px; | |
| color: #fff; | |
| border-radius: 5px; | |
| margin-top: 10px; | |
| } | |
| .single-product .el-social-share { | |
| display: flex; | |
| align-items: center; | |
| justify-content: flex-end; | |
| list-style: none; | |
| padding-right: 50px; | |
| margin-bottom: 30px; | |
| } | |
| .single-product .el-social-share li a i{ | |
| width: 34px; | |
| height: 34px; | |
| font-size: 20px; | |
| text-align: center; | |
| line-height: 34px; | |
| border-radius: 3px; | |
| display: block; | |
| } | |
| .single-product .el-social-share li a i.fa-facebook { | |
| background: #3b5997; | |
| color: #fff; | |
| } | |
| .single-product .el-social-share li a i.fa-twitter { | |
| background: #54adf1; | |
| color: #fff; | |
| } | |
| .single-product .el-social-share li a i.fa-pinterest { | |
| background: #c92027; | |
| color: #fff; | |
| } | |
| .single-product .el-social-share li + li { | |
| margin-left: 7px; | |
| } | |
| .single-product .related-products-block { | |
| background: #f6f7fb; | |
| width: 100vw; | |
| position: relative; | |
| margin-left: -50vw; | |
| left: 50%; | |
| padding: 30px 0; | |
| margin-bottom: 30px; | |
| } | |
| .single-product .related-products { | |
| margin-left: auto; | |
| margin-right: auto; | |
| padding: 0 15px; | |
| margin-bottom: 0; | |
| } | |
| .single-product .related-products header { | |
| text-align: center; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| margin: 0 auto; | |
| width: 50%; | |
| background: #edeef3; | |
| border-bottom: none; | |
| } | |
| .single-product .related-products header .h1 { | |
| padding: 0 30px; | |
| } | |
| .single-product .related-products header .h1:after { | |
| content: none; | |
| } | |
| .single-product .banners { | |
| display: flex; | |
| margin-bottom: 30px; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs, | |
| .single-product .woocommerce-tabs .ec-tabs{ | |
| border: 7px solid #0079c2; | |
| padding: 0 50px; | |
| clear: both; | |
| display: flex; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs > li, | |
| .single-product .woocommerce-tabs .ec-tabs > li { | |
| text-align: center; | |
| flex-grow: 1 | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs > li + li, | |
| .single-product .woocommerce-tabs .ec-tabs > li + li { | |
| margin-left: -4px; | |
| border-left: 1px solid #0079c2; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs > li a, | |
| .single-product .woocommerce-tabs .ec-tab > li a { | |
| padding-bottom: 0; | |
| line-height: 3.9em; | |
| color: #0079c2; | |
| display: block; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs > li.active a, | |
| .single-product .woocommerce-tabs .ec-tabs > li.active a { | |
| font-weight: 400; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs > li a:hover, | |
| .single-product .woocommerce-tabs .ec-tab > li a:hover { | |
| background: #075482; | |
| color: #fff; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs li a:before, | |
| .single-product .woocommerce-tabs .wc-tabs li a:after, | |
| .single-product .woocommerce-tabs .ec-tabs li a:after, | |
| .single-product .woocommerce-tabs .ec-tabs li a:before { | |
| content: none; | |
| } | |
| .single-product .wc-tab { | |
| border-radius: 0; | |
| border: 1px solid #0079c2 ; | |
| } | |
| .single-product table.variations td.value select { | |
| border-color: #2878c1; | |
| border-radius: 0; | |
| } | |
| .single-product table.variations tr:last-child td, | |
| .single-product table.variations tr:last-child th { | |
| border-bottom: 2px dotted #95aed6; | |
| } | |
| .single-product .woocommerce-variation-add-to-cart .quantity.buttons_added { | |
| display: block; | |
| text-align: right; | |
| } | |
| div.quantity.buttons_added .minus, div.quantity.buttons_added .plus, | |
| div.quantity.buttons_added .input-text{ | |
| height: 30px; | |
| top: 0; | |
| border-radius: 0; | |
| background: transparent; | |
| position: relative; | |
| bottom: 0; | |
| right: 0; | |
| left: 0; | |
| padding: 0; | |
| text-align: center; | |
| border: 2px solid #699cde; | |
| } | |
| .single-product .woocommerce-variation-add-to-cart .quantity .input-text { | |
| border-color: #699cde; | |
| } | |
| div.quantity.buttons_added .minus { | |
| left: 4px; | |
| border-right: none; | |
| width: 30px; | |
| color: #6b9bdd; | |
| } | |
| div.quantity.buttons_added .plus { | |
| left: -4px; | |
| border-left: none; | |
| width: 30px; | |
| color: #6b9bdd; | |
| } | |
| div.quantity.buttons_added .input-text { | |
| width: 55px; | |
| color: #000000; | |
| } | |
| div.quantity.buttons_added .minus:hover, | |
| div.quantity.buttons_added .plus:hover { | |
| color: #0078c5; | |
| } | |
| /*Responsive*/ | |
| @media (max-width: 768px) { | |
| .single-product .product-header { | |
| flex-direction: column; | |
| } | |
| .single-product .product-images-gallery { | |
| flex-direction: column; | |
| } | |
| .single-product .woocommerce-product-gallery .flex-viewport { | |
| width: 100%; | |
| } | |
| .single-product .woocommerce-product-gallery .flex-control-thumbs { | |
| width: 100%; | |
| flex-direction: row; | |
| } | |
| .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li { | |
| width: auto; | |
| display: inline-block; | |
| } | |
| .single-product .woocommerce-product-gallery, | |
| .single-product .upsells-products { | |
| width: 100%; | |
| display: block; | |
| } | |
| .single-product .woocommerce-product-gallery .flex-control-thumbs li img { | |
| width: 75px; | |
| } | |
| .single-product .upsells-products { | |
| margin-top: 20px; | |
| } | |
| .single-product .entry-summary { | |
| flex-direction: column; | |
| } | |
| .single-product .entry-summary > div { | |
| width: 100%; | |
| border-right: none; | |
| padding-right: 0; | |
| margin-right: 0 | |
| } | |
| .single-product .entry-summary .add-to-cart-form { | |
| margin-top: 20px; | |
| } | |
| .single-product .related-products header { | |
| width: 100%; | |
| display: block; | |
| } | |
| .single-product .related-products header .h1 { | |
| padding: 0; | |
| } | |
| .single-product .related-products header .owl-nav { | |
| float: none; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs, | |
| .single-product .woocommerce-tabs .ec-tabs { | |
| padding: 0; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs li, | |
| .single-product .woocommerce-tabs .ec-tabs li { | |
| border-bottom: 1px solid #0079c2; | |
| margin-bottom: 0; | |
| } | |
| .single-product .woocommerce-tabs .wc-tabs li:last-child, | |
| .single-product .woocommerce-tabs .ec-tabs li:last-child { | |
| border-bottom: none; | |
| } | |
| } | |
| @media (max-width: 568px) { | |
| .single-product .woocommerce-tabs .wc-tabs, | |
| .single-product .woocommerce-tabs .ec-tabs { | |
| display: block; | |
| } | |
| .single-product .banners .banner + .banner { | |
| margin-top: 20px; | |
| } | |
| .single-product .banners { | |
| display: block; | |
| } | |
| } | |
| @media (min-width: 769px) and (max-width: 991px) { | |
| .single-product .entry-summary > div { | |
| width: 28%; | |
| } | |
| } | |
| @media (min-width: 992px) and (max-width: 1199px) { | |
| .single-product .entry-summary > div { | |
| width: 30%; | |
| } | |
| } | |
| @media (min-width: 544px) { | |
| .single-product .related-products { | |
| max-width: 576px; | |
| } | |
| } | |
| @media (min-width: 768px) { | |
| .single-product .related-products { | |
| max-width: 720px; | |
| } | |
| } | |
| @media (min-width: 992px) { | |
| .single-product .related-products { | |
| max-width: 940px; | |
| } | |
| } | |
| @media (min-width: 1200px) { | |
| .single-product .related-products { | |
| max-width: 1140px; | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment