Home Support Square Trouble changing WooCommerce product image sizes

This topic contains 3 replies, has 2 voices, and was last updated by  HashThemes 3 days, 10 hours ago.

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

    andrearossman
    Participant

    I’m having issues changing the WooCommerce product image sizes in the Square theme. I’ve tried updating the sizes under the WooCommerce Settings section but it just defaults back to the original parameters. I’ve also tried changing the code in my child theme’s woo-functions.php file without any luck. Perhaps I’m not entering the code correctly there?

    #4529

    HashThemes
    Keymaster

    Hi,

    The theme is code to overwrite the default size so any changes in the setting will not work.

    It requires change in code to make the setting work.

    Thanks

    #4582

    andrearossman
    Participant

    Yep, I made changes to the size in the woo-functions.php file but for some reason it won’t give me a landscape look. I didn’t change the width, just the height. Is there a minimum height the images need to be set at?

    #4625

    HashThemes
    Keymaster

    Hi,

    You need to remove the line number 96 in the below file https://themes.trac.wordpress.org/browser/square/1.3.8/inc/woo-functions.php?rev=83790

    add_action( ‘init’, ‘sq_update_woo_thumbnail’);

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.