- This topic has 5 replies, 2 voices, and was last updated 6 years, 4 months ago by Hash.
- AuthorPosts
- December 22, 2017 at 1:16 am #4515andrearossmanParticipant
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?
December 27, 2017 at 7:37 pm #4529HashKeymasterHi,
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
January 9, 2018 at 3:10 am #4582andrearossmanParticipantYep, 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?
January 18, 2018 at 7:58 pm #4625HashKeymasterHi,
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’);
January 26, 2018 at 6:36 am #4660andrearossmanParticipantOk, but whenever I update the theme won’t I have to go back in and make that change again?
February 11, 2018 at 11:59 pm #4688HashKeymasterYes, you have to make this change every time you update the theme.
- AuthorPosts
- You must be logged in to reply to this topic.