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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.