[Resolved] Using WebP images in WooCommerce gallery

Home Forums Support Using WebP images in WooCommerce gallery

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1178393
    Siger

    Hi Tom and team,
    I want to use WebP images on the WooCommerce gallery (Imagify + WPRocket using the <picture> tags ). The main image works fine, but the hover image shows a small thumbnail image. Do I have to change some CSS or is it more a code thing?
    Thanks!

    #1178580
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site so i can take a look ?
    You can edit your original topic and use the Site URL field to share the link privately.

    #1179073
    Siger

    Hi David,
    I added the link. Seems there is no width set in plugins/gp-premium/woocommerce/functions/css/woocommerce.min.css for .wc-has-gallery .secondary-image
    Adding width: 100% seems to work.

    #1179489
    David
    Staff
    Customer Support

    Yeah that definitely cures it.
    GP uses the standard Woo templates, stylesheets, JS for this kind of stuff so we’ll take a nose to see if they are ‘now’ doing something different. And we’ll do some tests to see if it can be added as patch.

    You ok adding that CSS to your stylesheets for now?

    #1180674
    Siger

    Yes, thats ok, thanks for your time.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.