Tagged: enfold, woocommerce
Hi Kriesi
On mobile display my product image on single product page layout are squeezed to the left.
Is there a way to make them bigger on mobile or if not is there a way to center them?
Currently:
Is it possible to accomplish this:
Thank you for your time.
Running the latest WordPress and WooCommerce with @mensmaximus fix.
Hey waveshaper,
This is the code that I found in your child theme style.css
@media only screen and (max-width: 1024px) {
.single-product-main-image {float:left!important; width:50%!important;}
}
It should be changed like this:
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.single-product-main-image {float:left!important; width:50%!important;}
}
@media only screen and (max-width: 767px) {
.single-product-main-image {float:left!important; width:100%!important;}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria
Thank you for the helpful CSS.
That fixed it, I will have to adjust some other CSS as well though.
Much appreciated.
Cheers,
Hi,
Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi Rikard, thank you, you may close this topic.
If I have any further queries regarding this, I will open a new one.
Cheers
Hi,
Glad to hear that! Thanks for using Enfold :)
Best regards,
Nikko