Created
July 3, 2017 09:18
-
-
Save anastransvelo/30cd0a96de0246c1f7dba7b70a0b6603 to your computer and use it in GitHub Desktop.
Mobile list view custom style
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
@media (max-width: 767px) { | |
.product-list-view-inner { | |
display: flex; | |
flex-wrap: wrap; | |
padding: 20px; | |
align-items: center; | |
} | |
.product-list-view-inner .product-list-view-body .title-area { | |
border: none; | |
} | |
.product-list-view-inner .product-list-view-body .title-area .woocommerce-loop-product__title { | |
text-align: left; | |
} | |
.product-list-view-inner .product-list-view-header { | |
width: 30%; | |
padding-right: 10px; | |
} | |
.product-list-view-inner .product-list-view-body { | |
width: 40%; | |
} | |
.product-list-view-inner .list-view-footer { | |
width: 30%; | |
padding-left: 0; | |
text-align: right; | |
} | |
.product-list-view-inner .list-view-footer .availability, | |
.product-list-view-inner .list-view-footer .button, | |
.product-list-view-inner .product-list-view-body .excerpt, | |
.product-list-view-inner .list-view-footer .action-buttons{ | |
display: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment