Last active
July 29, 2017 21:28
-
-
Save carasmo/6b7a83b6afb853f8a2e2b50b9c4da967 to your computer and use it in GitHub Desktop.
Hide rounding error FlexSlider WooCommerce
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
.onsale { | |
box-sizing: content-box; | |
} | |
.woocommerce-product-gallery.woocommerce-product-gallery--with-images .flex-control-nav.flex-control-thumbs li { | |
padding: 2px; | |
} | |
.single-product .woocommerce-product-gallery.woocommerce-product-gallery--with-images > ol.flex-control-nav.flex-control-thumbs { | |
margin: 2px -2px 0; | |
} | |
.woocommerce-product-gallery::after { | |
position: absolute; | |
content: ''; | |
width: 1px; | |
top: 0; | |
bottom: 0; | |
right: 0; | |
background: #fff; /* your background color */ | |
z-index: 1; | |
} | |
body.rtl .woocommerce-product-gallery::after { | |
right: auto; | |
left: 0; | |
} | |
/* remove #d9eaff blue background */ | |
.flex-control-thumbs { | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment