Last active
September 16, 2021 13:47
-
-
Save neilgee/1c9331da705deff44ea20ba52658b762 to your computer and use it in GitHub Desktop.
Flexbox on WooCommerce Products
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
/* Flexbox on WooCommerce archive products */ | |
.woocommerce .products ul, | |
.woocommerce ul.products { | |
display: flex; | |
flex-flow: row wrap; | |
} | |
.woocommerce ul.products li.product, | |
.woocommerce-page ul.products li.product { | |
display: flex; | |
flex-flow: column nowrap; | |
} | |
.woocommerce ul.products li.product .button { | |
margin-top: auto; | |
display: table; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment