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

    Hi all,

    I’m trying to change the size for thumbnail on shop page, but it doesn’t work. Can anyone help me, please ?

    This is the site: https://andu.inom.ro/atlas/magazin/

    #1400153

    Hi andupro,

    Please add this code in functions.php of your child theme, if you don’t have a child theme then you can use the plugin called WPCode to insert this code snippet:

    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';
    }

    I hope it helps.

    Best regards,
    Nikko

    #1400964

    Thank you, Nikko! It works!

    #1400966

    Hi,
    Glad Nikko was able to 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,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change thumbnail size on shop page’ is closed to new replies.