This topic has 5 replies, 3 voices, and was last updated 8 years, 2 months ago ago by Jack Richardson
Hello,
How can i Change the picture size of the single product page,
The image is really large in the single product page,
Can you give us custom code that reduces the size of image in single product page,
Hello Stinsonleathers,
please provide us with FTP credentials for your site in private content and specify what Product image dimensions do you want to have. We will edit it and provide you with code.
Regards,
Stan Russell.
Yeah Sure,
and Product image should be about 30% less as it is shown in the single product page
450×700 will be great
thank you
Hello,
I’ve created child theme for you and placed there the wp-content/themes/legenda-child/woocommerce/single-product/product-image.php file with needed changes in lines 46 and 47:
$mainImageWidth = 450;
$mainImageHeight = 700;
and after regenerated thumbnails.
Also the css code has been added in wp-content/themes/legenda-child/style.css:
@media (min-width: 1200px){
.main-image-slider.zoom-enabled, .sxy-zoom-container.sxy-zoom-mode-window {
width: 450px !important;
height: 700px !important;
}
}
Please check the site now.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up