Make thumbnail larger, improve shop layout.

This commit is contained in:
Peter Fabian 2019-11-24 09:51:15 +01:00
parent 9baaa88adc
commit f3892359f3
2 changed files with 18 additions and 1 deletions

View File

@ -1417,6 +1417,23 @@ a.reset_variations {
margin: 0 5vw;
}
}
/* Shop layout */
ul.products {
display: flex;
justify-content: space-evenly;
align-items: stretch;
flex-direction: row;
flex-wrap: wrap;
li.product {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
margin-bottom: 5em;
}
}
}
@media only screen and (max-width: 768px) {

View File

@ -38,7 +38,7 @@ class WC_Twenty_Twenty {
add_theme_support(
'woocommerce',
array(
'thumbnail_image_width' => 300,
'thumbnail_image_width' => 450,
'single_image_width' => 600,
)
);