-
Hello
How I can to change the image size of the single products? My images appear too long because the size of the product images in the demo is 480×480 or 768×768 px I mean the same size in tall and wide, and the images of my project are 400×600.
thank you
regards
Hi.
Check in the file cutstyle/pixtheme/functions/index.php on line 61:
add_theme_support( 'woocommerce', array( 'single_image_width' => 600, 'thumbnail_image_width' => 400, 'gallery_thumbnail_image_width' => 300, ) );
and use this setting for image proportions https://take.ms/AOhDx
Appearance -> Customize -> Woocommerce -> Product ImageIf there’s a problem, give me site url and admin access.
Hello
Thanks for the solutions but it does not work
http://chaquesbonvivant.com/product/chaque-clasico
regards
Do you want the max image size on single product is 400×600?
Yes I want this size in a single product image . Now with my actual size the related products works wrong.
http://chaquesbonvivant.com/product/gris-marengo
thanks
Private Content HiddenThe problem is that the width of the grid is 1300px https://take.ms/01fjQ, the picture takes half and stretches to this width. It turns out that the minimum width is 600px. We can shrink the container with the picture to 860px https://take.ms/he59o.
Insert this code in the functions.php file.
add_action( 'woocommerce_before_single_product_summary', 'pixtheme_woo_single_item_container_open', 5); function pixtheme_woo_single_item_container_open() { echo '<div class="pix-single-item-wrapper">'; }; add_action( 'woocommerce_after_single_product_summary', 'pixtheme_woo_single_item_container_close', 5); function pixtheme_woo_single_item_container_close() { echo '</div>'; };
Ok Now the image have the correct size, but the link of the image to open prettyPhoto is not working. And the related products is not worked well too.
http://chaquesbonvivant.com/product/azul-tinta
thank you
Now is perfect
you are really fast!
Its possible to make this ratio image in shop page ? The models heads is not appears
http://chaquesbonvivant.com/chaques
thanks very much
You must be logged in to reply to this topic.