WooCommerce Gallery Images not correctly aligned

When using our gallery images plugin for WooCommerce it can happen, that the image container is not correctly aligned in some themes. This is caused, because the theme did not provided CSS code for the woocommerce-gallery-images class.

To fix the issue you need to add this custom CSS to your site:

.woocommerce-product-gallery {
	width: 42%;
	float: left
}

@media(max-width: 768px) {
	.woocommerce-product-gallery {
		width: 100%;
		float: none;
	}
}

Leave a Reply

Your email address will not be published.