Replace image with WebP version using styles
-
Hi there,
I am trying to replace the standard version of my images with the WebP version.
I have several pages which display a hero image, but they use a style to serve the background image e.g.
[ redundant link removed ]
<div class="upb_row_bg vcpb-default" data-upb_br_animation="" data-parallax_sense="30" data-bg-override="ex-full" data-bg-animation="left-animation" data-bg-animation-type="h" data-animation-repeat="repeat" style="background-size: cover; background-repeat: no-repeat; background-color: rgba(0, 0, 0, 0); background-image: url("https://linktechaustralia.com.au/wp-content/uploads/2019/11/what-we-do-linktech-australia.jpg"); background-attachment: scroll; min-width: 1348px; left: 0.5px; width: 1348px;">
I have found a place in settings “WebP Attribute To Replace,” but I am unsure what I need to add so I can force the WebP version.
Any help would be great, thanks!
- This topic was modified 5 years, 3 months ago by .
- This topic was modified 5 years, 3 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Replace image with WebP version using styles’ is closed to new replies.