Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1405877

    Hi Kriesi team !
    In product page, my pics “Vous aimerez peut-être aussi…” (You may also like) are cropped.

    I can’t find a solution.
    Can you help me ?
    Best regards
    Philip

    #1405905

    Hey mescalytequila,

    Thank you for the inquiry.

    You may need to add this code in the functions.php file in order to adjust the related product thumbnails.

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

    Best regards,
    Ismael

    #1405922

    Oh Great ! Many Thanks Ismael !!!
    A last question, please. I have 4 thumbs actually, is it possible to have 5 thumbs on the same line ?

    #1406053

    Hi,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_action( 'init', 'enfold_customization_five_related_products' );
    function enfold_customization_five_related_products() {
    	global $avia_config;
    	$avia_config['shop_single_column'] = 5;
    	$avia_config['shop_single_column_items'] = 5;
    }

    Best regards,
    Mike

    #1406097

    Hi Mike !
    Thank you,
    Your after-sales service is great ! Keep it up !

    Best regards

    #1406108

    Hi,
    Glad we were 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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘“You may also like” images are cropped’ is closed to new replies.