Archived topic
Image Opacity not working with new Background Inline Style.
6 replies · Started by Rostyslav on June 24, 2022
Hello when I try to give opacity to my image using inline style on my dashboard I see this: https://ibb.co/wLyMfR6 but when I pusblish it I see this:
https://ibb.co/Z25cr5m
How can I add shadow when using inline style image. Should I instead of opacity use linear gradient?
Thanks!
Hi Rostyslav,
To clarify, if it’s not inline style, does the issue exist?
Opacity should work even if it’s set to inline style.
Can you provide the link to the site in question?
You may use the private information field to share your credentials: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Hope to hear from you soon.
if it’s not inline style opacity works perfectly.
Hi there,
can you apply the Opacity to the image, and then share a link to where i can see the issue ?
Sure!, When I desactívate autoptimize it works good :(
It is autoptimize lazy load issue. The solution is excluding that image from lazy load manually in autoptimize. How can I solve this problem not excluding all background inline style images? I whoul like to make them lazy loaded with opacity.
You would need to check with Autoptimize if you can exclude a specific background image.