Center product cards (2022 Theme) (#31626)

* Center product cards (2022 Theme)

* Product card color.

* Center product rating in loops.

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
This commit is contained in:
Barry Hughes 2022-01-12 14:00:52 -08:00 committed by GitHub
parent 6e08e1802f
commit 045c3fb915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -235,6 +235,7 @@ $tt2-gray: #f7f7f7;
li.product {
list-style: none;
margin-top: var(--wp--style--block-gap);
text-align: center;
a.woocommerce-loop-product__link {
text-decoration: none;
@ -242,6 +243,8 @@ $tt2-gray: #f7f7f7;
}
h2.woocommerce-loop-product__title {
color: var( --wp--preset--color--primary );
font-family: var( --wp--preset--font-family--system-font );
font-size: 1.2rem;
text-decoration: none;
margin-bottom: 0;
@ -480,9 +483,8 @@ $tt2-gray: #f7f7f7;
line-height: 1;
width: 5.4rem;
font-family: star;
margin-bottom: 0.7rem;
color: var( --wp--preset--color--secondary );
margin-top: 1rem;
margin: 1rem auto .7rem auto;
&::before {
content: "\73\73\73\73\73";