• Resolved pistolero

    (@pistolero85)


    Hello.

    I’m using Oxygen Builder and trying to figure out the problem with CSS background-image. All images on the website are successfully optimized and WEBP versions created. No problems at all with replacing images in HTML. But the problem with replacing images in CSS.
    I have a section with a background image and it’s still using .jpg but I want it as webp.
    background-image: url(https://www.domain.com/wp-content/uploads/2022/01/service_bg.jpg);

    I searched old topics and someone said that CSS background support will be added in new versions, then someone said that it’s working now.
    Can you please help me. Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have currently disabled lazyload in cache plugin, so it is not possible to check what is going wrong. Regardless of this, some images and the code for displaying images are Javascript driven. This could result in a conflict with lazyload function of cache plugin, but has deeper to be investigated if you enable lazyload function again.

    Sorry, wrong reply to the wrong post. Admin, please remove this and the previous post!

    Plugin Support qtwrk

    (@qtwrk)

    have you verified by adding .webp to the image URL to see the webp file exists ?

    Thread Starter pistolero

    (@pistolero85)

    Hi qtwrk. Thank you for response. Yes, webp is generated.
    The problem solved. I simply enabled CSS Minify and it started to work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Oxygen Builder webp background image’ is closed to new replies.