-
AuthorPosts
-
April 24, 2020 at 5:03 pm #1206858
Hi guys,
im using the product grid element and the featured image is really blurry despite the file size being large and clear. Is there something I can do to make the image more clear? Also, the image is really long and the preview is showing the middle of the image, but i want it to show the top of the image instead. Thanks!
April 26, 2020 at 4:00 pm #1207273Hey bobfurgo,
In your WordPress Dashboard, go to Appearance > Customize > Woocommerce > Product Images.
Change Thumbnail width to 400 and save.
Find, Install and Activate a plugin that regenerates images so all images will be regenerated otherwise you’ll need to re-upload product images again.Best regards,
VictoriaApril 26, 2020 at 4:22 pm #1207286Thank you! Works great. How would I be able to have the thumbnail show the top of the image instead of the center?
Also, one more thing, i’m trying to add a color hover affect on the product images. I added this:
#top .av-product-class-minimal img:hover { background: #D9FF6C !important; }
but it didn’t work. Any suggestions? Thank you again!
April 27, 2020 at 9:53 pm #1207622hi! just following up on this. Thanks :)
May 3, 2020 at 11:41 pm #1209355Hello, just following up again, thanks!
May 4, 2020 at 8:30 am #1209444Hi,
Sorry for the delay. You can try this snippet in the functions.php file to adjust how the product thumbnails are cropped.
add_filter('woocommerce_get_image_size_thumbnail', function($size) { $size = array ( 'width' => 9999, 'height' => 9999, 'crop' => array( 'center', 'top'), ); return $size; },10, 1);
Use this plugin to regenerate the thumbnails.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
IsmaelMay 4, 2020 at 2:19 pm #1209546Hi there! Thank you! I added it to functions.php and uploaded the plugin but it still isn’t showing the top part of the image
May 11, 2020 at 9:48 am #1211776Hi,
Did you regenerate the thumbnails, or upload the images again? You have to regenerate the thumbnails in order to see the changes.
Best regards,
IsmaelMay 11, 2020 at 3:15 pm #1211850Hi ismael! Just regenerated the thumbs with the plugin. The images on the home and product page still aren’t showing the top of the image.
May 15, 2020 at 12:58 pm #1213263Hi,
Did you check the authorization details? We can’t access the site anymore.
Try to adjust the default size of the shop_catalog thumbnail using the Simple Image Sizes plugin.
// https://wordpress.org/plugins/simple-image-sizes/
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.