Viewing 5 replies - 1 through 5 (of 5 total)
  • Those are for the category images, which is different from the products. There isn’t a setting in the theme options to turn off the category image crop. So you would have to edit in the theme template: virtue/woocommerce/content-product_cat.php

    You can change this on line 26:

    $catimgheight = 130;

    to

    $catimgheight = null;

    Kadence Themes

    Thread Starter Vix332

    (@vix332)

    Thank you so much for your quick reply – I have been slogging through the php files and could not find that bit of code
    Vix

    I have this problem too. I have odd shaped cropping of my images on my category shop page I have 4 categories. Please can you provide some CSS code so I can make this work. I don’t understand how to edit the template. Appreciating your help.

    This can’t be changed with css, you can change the image ratio in the premium theme but in free you have to edit the theme file: virtue/woocommerce/content-product_cat.php

    You can change this on line 26:

    $catimgheight = 130;

    to

    $catimgheight = null;

    I also noticed that one of your images is pretty small. Which makes it so the theme can’t crop the size.

    Kadence Themes

    Thank you Kadence. I edited the theme and it works great now. Appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Catalogue image cropping’ is closed to new replies.