Last active
May 1, 2020 15:57
-
-
Save anastransvelo/54163bf38704f0faecc0c03cacc5ee76 to your computer and use it in GitHub Desktop.
Electro hide add to cart btn and show text
This file contains 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
.owl-item>.product .add-to-cart-wrap .button, | |
.owl-item>.product .added_to_cart, | |
.section-onsale-product .onsale-product .add-to-cart-wrap .button, | |
.section-onsale-product .onsale-product .added_to_cart, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .add-to-cart-wrap .button, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .added_to_cart, | |
li.product .add-to-cart-wrap .button, li.product .added_to_cart { | |
width: auto; | |
float: none; | |
background-color: transparent; | |
text-indent: 0; | |
padding: 6px 18px; | |
background-color: #fed700; | |
} | |
.owl-item>.product .button.add_to_cart_button::before, | |
.section-onsale-product .onsale-product .button.add_to_cart_button::before, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .button.add_to_cart_button::before, | |
li.product .button.add_to_cart_button::before, | |
.owl-item>.product .add-to-cart-wrap .button::before, | |
.owl-item>.product .added_to_cart::before, .section-onsale-product .onsale-product .add-to-cart-wrap .button::before, | |
.section-onsale-product .onsale-product .added_to_cart::before, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .add-to-cart-wrap .button::before, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .added_to_cart::before, | |
li.product .add-to-cart-wrap .button::before, li.product .added_to_cart::before { | |
display: none; | |
} | |
.products:not(.electro-v1)>.product .add-to-cart-wrap, | |
.owl-item>.product .add-to-cart-wrap, | |
.products>.product .add-to-cart-wrap { | |
flex-shrink: 0; | |
margin-top: 14px; | |
} | |
.products:not(.electro-v1)>.product .price-add-to-cart, | |
.owl-item>.product .price-add-to-cart, | |
.products>.product .price-add-to-cart { | |
height: 5.571em; | |
} | |
.owl-item>.product .price-add-to-cart, | |
.section-onsale-product .onsale-product .price-add-to-cart, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .price-add-to-cart, | |
li.product .price-add-to-cart { | |
display: block; | |
} | |
.products-carousel .owl-item .product .added_to_cart, | |
.products-carousel .owl-item .product .button, | |
.section-onsale-product .onsale-product .added_to_cart, | |
.section-onsale-product .onsale-product .button, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product .onsale-product-content .added_to_cart, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product .onsale-product-content .button, | |
li.product .added_to_cart, li.product .button { | |
color: #333e48; | |
font-weight: 700; | |
} | |
.owl-item>.product .add-to-cart-wrap .button:focus, | |
.owl-item>.product .add-to-cart-wrap .button:hover, | |
.owl-item>.product .added_to_cart:focus, .owl-item>.product .added_to_cart:hover, | |
.section-onsale-product .onsale-product .add-to-cart-wrap .button:focus, | |
.section-onsale-product .onsale-product .add-to-cart-wrap .button:hover, | |
.section-onsale-product .onsale-product .added_to_cart:focus, | |
.section-onsale-product .onsale-product .added_to_cart:hover, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .add-to-cart-wrap .button:focus, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .add-to-cart-wrap .button:hover, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .added_to_cart:focus, | |
.section-onsale-product-carousel .onsale-product-carousel .onsale-product-content .added_to_cart:hover, | |
li.product .add-to-cart-wrap .button:focus, | |
li.product .add-to-cart-wrap .button:hover, | |
li.product .added_to_cart:focus, | |
li.product .added_to_cart:hover { | |
background-color: #333e48; | |
color: #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment