- This topic has 5 replies, 2 voices, and was last updated 7 years, 1 month ago by
Hash.
- AuthorPosts
- December 22, 2017 at 1:16 am #4515
andrearossman
ParticipantI’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 #4529Hash
KeymasterHi,
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 #4582andrearossman
ParticipantYep, 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 #4625Hash
KeymasterHi,
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 #4660andrearossman
ParticipantOk, 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 #4688Hash
KeymasterYes, you have to make this change every time you update the theme.
- AuthorPosts
- You must be logged in to reply to this topic.