Hello, I’ve read through the other users problems that Andrew helped regarding resizing featured image thumbnails in the Vantage theme using woocommerce with no prevail. I added the following code to the custom php: /* WooCommerce */
.woocommerce #content div.product div.images img, .woocommerce div.product div.images img, .woocommerce-page #content div.product div.images img, .woocommerce-page div.product div.images img {
width: auto !important;
}
.woocommerce .related ul li.product img, .woocommerce .related ul.products li.product img, .woocommerce .upsells.products ul li.product img, .woocommerce .upsells.products ul.products li.product img, .woocommerce-page .related ul li.product img, .woocommerce-page .related ul.products li.product img, .woocommerce-page .upsells.products ul li.product img, .woocommerce-page .upsells.products ul.products li.product img {
width: auto !important;
}
.woocommerce .related h2 {
clear: both;
}
/* WooCommerce Product Thumbnails */
.woocommerce .thumbnails a {
display: block;
margin-right: 5.2% !important;
margin-bottom: 10px;
width: 28% !important;
}
/* Set a max-width for the single post and archive featured image */
.single .entry-thumbnail img {
margin-right: auto;
margin-left: auto;
max-height: 5%;
}
article.post .entry-header .entry-thumbnail img {
margin-right: auto;
margin-left: auto;
max-height: 5%;
}
and disabled any plugins that might affect the thumbnails but couldn’t get vantage to resize the image (it only adjusted the resolution just like the woocommerce display settings).
I also tried the simple image sizes plugin with no luck (and made sure to render the images after).
And finally I tried to import the images in a smaller dimension size but it would still keep the large overall containment field with a smaller image.
It seems that something in woocommerce is changing the way vantage is interacting with wordpress but I can’t quite pinpoint it. Any help would be greatly appreciated.
Thanks, Rob
Hi Rob
Very sorry about the late reply. We work through a prioritized forum queue, and unfortunately it’s taken us some time to get to your thread.
https://siteorigin.com/about/forum-thread-prioritization/
Because it’s been a while since you posted this, would you mind letting us know if you still need help? If so, we’ll jump right in.
I’ve got much further adjusting the featured image sizes so that’s not my current problem. I have noticed the featured image is usually connected to the thumbnail of the catalog images and can’t resize them without adjusting the resolution and making them blurry. Is the catalog thumbnail completely dependent on the size of the featured imported? Because it will take me much longer to re-import all of the images if I can’t adjust the dimensions without changing the resolution. Thanks for any help, Rob
Hi Rob
If you make changes to the size of your images via the Settings > Media or similar interface you can then run regen thumbnails to output your new sizes:
https://wordpress.org/plugins/regenerate-thumbnails/
No, your images aren’t dependent on the sizes uploaded. Here is WooCommerce on the topic:
http://docs.woothemes.com/document/using-the-appropriate-product-image-dimensions/
Can you perhaps give that a read and see if it helps.