Hi, I had a web designer friend check out my site and he said the product images on my Shop page were blurry because they were being pulled from the thumbnail image and being blown up, and not the larger image. He had me increase the thumbnail size in the WooCommerce display settings, and now my Shop page doesn’t display correctly. The header image in the menu doesn’t show up and neither does the sidebar. Strange, it’s almost as if the Shop page looks like the Product page now. I tried regenerating the thumbnails and that didn’t work. Help?
Hey likegluelikecrew,
Can you try adding this code at the bottom of functions.php:
global $woocommerce;
if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) {
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
return $img;
}
function avia_woocommerce_post_thumbnail_description($img, $post_id){
return $img;
}
}
Let us know if this helps :)
Best regards,
Nikko