Make thumbnail larger, improve shop layout.
This commit is contained in:
parent
9baaa88adc
commit
f3892359f3
|
@ -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) {
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue