Uncropped Images on Tablet and Mobile

Hi,

In Appearance -> Customize -> WooCommerce -> Product Images, I have set all three device views (desktop, tablet, and mobile) to uncropped. However, this setting does not appear to be taking on any type of device. Strangely enough, it used to work on desktop (image appeared correctly as a 5 by 7 portrait) and it doesn't anymore. How would I fix this?

Thanks!

https://awaywithmeredith.com/shop/

Comments

  • Hello,

    Can you check, if it start to work correctly when you will switch the theme to other? Like twenty-twenty or other default one.

    Thanks

  • Hi, thanks for your response. Wouldn't switching themes remove all the custom edits I've made on BeTheme so far? Custom CSS and settings?

  • Hi,

    No, it will not remove anything because all the information is stored in the database.

    You can also try the following: go to Betheme -> Theme options -> Shop -> Product list, and change the Image width to Old - 600px.

    Thanks

  • edited August 2022

    Thanks, I gave it a shot but it didn't change anything.

  • Yes, most likely you do not have the most current version.

    Please, update it, and this option will appear.


    Thanks

  • Yes, I updated BeTheme to the most current version. Unfortunately, like I said, changing the setting didn't make any difference.

  • Please send us WordPress dashboard access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact and we will check what might be the reason.

    Notice!

    Please attach a link to this forum discussion.

    Thanks

  • Okay, just sent! Thanks for your help.

  • It seems to be a Betheme issue.

    I have passed it to the dev team because we need to take a closer look at it.


    Best regards

  • Okay, thanks for your dedication to helping me resolve this!

  • The update fixing it will be released next week.

    You can fix it on your website by modifying two files:

    • wp-content/themes/betheme/functions/builder/class-mfn-builder-woo-helper.php

    in that file replace the whole "if" with this code:

    $output .= woocommerce_get_product_thumbnail();
    

    /wp-content/themes/betheme/functions/theme-woocommerce.php

    in that file replace the first whole function with this:

    function mfn_woo_support(){
    
    	$thumbnail_image_width = mfn_opts_get( 'shop-image-width', 800 );
    	$single_image_width = mfn_opts_get( 'shop-image-width', 800 );
    
    	if( 'modern' == mfn_opts_get('shop-product-style') ){
    		$single_image_width = 1200;
    	}
    
    	add_theme_support('woocommerce', array(
    		'thumbnail_image_width' => $thumbnail_image_width,
    		'single_image_width' => $single_image_width,
    	));
    
    }
    add_action( 'after_setup_theme', 'mfn_woo_support' );
    

    Thanks

Sign In or Register to comment.