Hi.
I changed the single product page image with your assistance here and using the below code. The image looks good on desktops but is being squashed on mobile devices. I have tried using the same code with some modifications with media rules with no luck.
Would you mind having a look for me. The height is not changing and is still 350px causing the distortion.
Thank you.
img.attachment-shop_single.wp-post-image {
width: 600px !important;
height: 350px !important;
}
Hi OneClickTech!
Can you please post the link to your page where we can see the issue?
Cheers!
Yigit
Sorry Yigit. Not sure why the link didn’t show as I did add it.
Added now.
Thank you.
Hey!
Please change the code you posted in your first post to following one
@media only screen and (min-width: 769px) {
img.attachment-shop_single.wp-post-image {
width: 600px !important;
height: 350px !important;
}}
Regards,
Yigit
Thank you Yigit.
I didn’t think of removing that original code when using the media rule. To be honest i thought it would have messed up the image/layout when full size, but it doesn’t.
Thanks again.