This topic has 6 replies, 2 voices, and was last updated 3 years, 2 months ago ago by Rose Tyler
Hey Guys, how can i center the product gallery image on a single product page without setting the content to 100%?
There are buttons on the single product builder to center/left/right but those changes do not appear.
Thanks in advance.
Hello,
Add the next code in Theme options > Theme custom CSS:
.single-product .woocommerce-product-gallery.images-wrapper {
margin: auto !important;
}
Regards
Great, thanks.
Any custom code for the shop page to have on the mobile version one product per row instead of two as I set this to two on desktop?
Kind regards
Hello,
Add the next code in Theme options > Theme custom CSS > Mobile:
.products-grid .product {
width: 100% !important;
}
Regards
Amazing. And last but not least, how can i center the variation swatches?
Use the next custom CSS code:
.single-product form.cart table.variations td.label, .single-product form.cart table.variations td.value {
text-align: center;
}
Regards
The issue related to '‘Product Gallery on single product page’' has been successfully resolved, and the topic is now closed for further responses