artinkb
Forum Replies Created
-
That link no longer has Yith Zoom Magnifier installed. Unfortunately there are oversized product images in single product page and CSS is incompatible.
Any updates on this request? I have a theme from Yithemes and I would like to have Main Product photo changed by hovering on thumbnails instead of clicking on them.
I found this code which is incompatible with Zoom Magnifier, yet it does change Main Product Image while Hovering on thumbnails.
add_action('wp_footer', 'wpq_wp_footer'); function wpq_wp_footer() { ?> <script type="text/javascript"> jQuery(document).on('hover','.thumbnails .yith_magnifier_thumbnail', function(){ var full_img = jQuery(this).attr('href'); jQuery('.yith_magnifier_zoom_wrap a img').attr('src', full_img); }); </script> <?php }
This code can be placed in functions.php of theme.
I look forward to hear from someone in this regards.
Best,
ArtDoes anyone know or have any clue about this? I will appreciate any feedback.
Art
After many tries I found out that jquery.js was needed for JS Exclusion then everything started working. So now the Force JS and Look for Script only in <Head> is disabled or unchecked. I can’t get further from here to stop the Render Blocking. Since I resolved the older render blocking, now it show jquery.js as render blocking file.
For CSS render blocking, I’m using CSS General Data only. I checked the FAQ and after few hours of trying different settings it didn’t get better.
Is there no way around it? This is more of a long run job to figure out how these things work.
Best,
ArtI’ve disabled the “Force JavaScript in <head>” and it caused the dynamic text in the website with LayerSlider to not work anymore. So I checked the box again.
The same thing happens for css and Google PageSpeed says Optimize CSS Delivery.
I tried different settings and yet I can’t figure out a way for this to function properly. Do you know what could be missing or wrong?
Best,
Art