Search code examples
csswordpresswoocommerceproductwoothemes

I can't change the product image size for woocommerce


I am trying to change the image size in the individual product page to be 600px X 700px however any changes from woocommerce product settings don't do anything even after I regenerate all thumbnails. I think that something in my theme css is setting my product page image size but I can't figure out what it is so I can change it.

Also it would be a plus if I can remove the image border. Here is a link to a product to see the issue I'm having.

http://goo.gl/OpLkMA


Solution

  • [SOLVED] It was in the theme file, each theme is different so posting the file name that I found mine in is likely irrelevant to anyone having this issue.

    What you must do is look through your theme to see what size it renders thumbnails. In my case, the largest width size of thumbnails was 360px. Once I found the code below I simply changed it to 600px and then regenerated my thumbnails. That did the trick, I hope it helps someone with the same issue.

    ` /* ====== Product single thumb size ====== */

    add_image_size( 'tw_shop_single', 360, 999, false );`