Hey
WooCommerce thumbnails now have different sizes.
Example https://natrud.no/portlosninger/portbeslag-for-ytterporter/
Product: " 290 56.5K/N Singelportrull Nylon"
Even though these are adjusted to be 300px wide (Customizer -> WooCommerce -> Product Images -> Thumbnail width 300. Crop 1:1. Giving all the product thumbnails a square.
But with images that are less then 300px x 300px these images are not seen in a square.
I even used Regenerate Thumbnails plugin to see if that would help. I also found out that WooCommerce has its own build in Regenerate here:
WooCommerce > Status > Tools > Regenerate shop thumbnails > Click – Regenerate (Button on right)
Regenerating did not help.
I have read through other threads in the forum and also added code such as:
/* Adjust product thumbnails. */
.archive .product-category img {
width: 300px !important;
height: 300px !important;
}
li.product .entry-featured {
overflow: hidden;
margin-top: 0;
z-index: 0;
width: 300px !important;
height: 300px !important;
}
The above code did not work.
I need a solution to where the minimum thumbnail size will show 300x300. Even though some images are smaller. I need the smaller images to show the correct thumbnail image size.
Thank you!