Skip to content

Instantly share code, notes, and snippets.

@gsgoraya
Created May 28, 2019 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsgoraya/e160df718a7f1e38e4bf17196c9c9585 to your computer and use it in GitHub Desktop.
Save gsgoraya/e160df718a7f1e38e4bf17196c9c9585 to your computer and use it in GitHub Desktop.
div.th-filterable-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
div.th-filterable-list > div {
width: 48%;
text-align: center;
margin-bottom: 3em;
}
h2.woocommerce-loop-product__title {
font-size: 1.8rem;
font-weight: 400;
margin-top: 1em;
}
div.th-filterable-list-item-container span.onsale {
position: absolute;
}
div.th-filterable-list a.add_to_cart_button,
div.th-filterable-list a.added_to_cart {
display: inline-block;
font-size: 1.4rem;
padding: .3em 1em;
background-color: #666;
color: #fff;
margin-top: 0.5em;
}
div.th-filterable-list a.add_to_cart_button:hover {
background-color:#999;
}
span.price {
display: block;
font-size: 1.5rem
}
div.star-rating > span {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment