Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1366390


    I am using the default woocommerce product catalog page. For some reason the images are 450×450 px in 1 1:1 aspect ration instead of a 16:9 aspect ratio as i want it. Woocommerce moved the image settings into the customizer and states if the settings dont show up there one should contact the theme author. Any hints on how i get the images to the desired aspect ratio? Funny thing is it was working before but new images uploaded are always 450×450 now instead of 640×360.

    Whats interesting: It was working before, then suddenly newly uploaded images had this 1:1 aspect ratio. I used regenerate thumbnails and now all have the 1:1 aspect ratio… Maybe this is because woocommerce moved this setting? I am not sure if it is an enfold or a whoocommerce problem.

    Any help is highly appreciated. Thanks!

    • This topic was modified 1 year, 7 months ago by j0schi.

    Hey j0schi,

    Thank you for the inquiry.

    The theme sets the product thumbnail size to 450x450px by default but you can use this filter in the functions.php file to revert the product thumbnail settings back to default.

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
        return 'woocommerce_thumbnail';

    Related threads:


    Best regards,


    That worked, thank you so much!
    And sorry, somehow i did not find the old threads to this topic :(

    Kind regards


    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to set image sizes / aspect ratio in product catalog’ is closed to new replies.