January 15, 2016 at 20:24
#98726
sharmstr
Moderator
WP 4.4 added srcset to images which has screwed up a bunch of things. Looks like the Kleo devs have already fixed this in the next version of Kleo. In the meantime, see if this solves the issue.
In your child theme’s functions.php file, add this
COPY CODE
function sq_remove_img_srcset( $attr ) {
if (! empty($attr)) {
unset($attr['srcset']);
unset($attr['sizes']);
}
return $attr;
}
Then replace /kleo/woocommerce/single-product/product-image.php with the attached file (or put it in your child theme). Make sure you keep a copy of the original file (in case this doesnt work) and rename .txt to .php.
Let me know.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com