Help PixTheme
  • Home
  • Theme Documentation
  • Forums
  • Log In / Sign Up

Community Forums

Please use one topic for only one question.

Please use one topic for only one question.

Please use one topic for only one question.

Homepage/Forums/CutStyle – Barber & Barbershop WordPress Theme/single product img

single product img

This topic is: not resolved
Viewing 17 posts - 1 through 17 (of 17 total)
  • 6 years, 2 months ago batumy
    Participant

    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

    6 years, 2 months ago Support team
    Keymaster

    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 Image

    If there’s a problem, give me site url and admin access.

    6 years, 2 months ago batumy
    Participant

    Hello

    Thanks for the solutions but it does not work

    http://chaquesbonvivant.com/product/chaque-clasico

    regards

    6 years, 2 months ago Support team
    Keymaster

    Please, give me admin and ftp access.

    6 years, 2 months ago Support team
    Keymaster

    Do you want the max image size on single product is 400×600?

    6 years, 2 months ago batumy
    Participant

    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 Hidden
    6 years, 2 months ago Support team
    Keymaster

    The 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.

    6 years, 2 months ago batumy
    Participant

    How can we do it?
    shrink the container i mean

    6 years, 2 months ago batumy
    Participant

    How can we do it ? shrink the container i mean

    thanks

    6 years, 2 months ago Support team
    Keymaster

    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>';
    };
    6 years, 2 months ago Support team
    Keymaster

    In child theme

    6 years, 2 months ago batumy
    Participant

    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

    6 years, 2 months ago Support team
    Keymaster

    Check now, please.

    6 years, 2 months ago batumy
    Participant

    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

    6 years, 2 months ago Support team
    Keymaster

    Check http://chaquesbonvivant.com/chaques

    6 years, 2 months ago batumy
    Participant

    Wonderful!

    thank you very much

    regards

    6 years, 2 months ago Support team
    Keymaster

    You are welcome))

Viewing 17 posts - 1 through 17 (of 17 total)

You must be logged in to reply to this topic.

Already a member? Sign In

Log In
Register Lost Password

The Best Thanks

© 2013-2024 PixTheme Studio. All Rights Reserved.