images are used as the background of a "span"

Posted in: Newspaper
Post count: 7

Hi Team,

I am facing a peculiar problem. I am using Ezoic’s LEAP and applying the image optimization and serving the images in webp format.
However, images are used as the background of a “span”.
As a recommendation to resolve this problem, they suggested me to
“you could change the “span” tag with a background image (as it is currently) to an “img” tag directly”

Can you please suggest me how can I make this changes?

Thanks in advance.

Post count: 21065

Hello!

If you are referring about the flex blocks, then you should change the way of functioning. So, this means to edit the theme’s files which I do not recommend. Any change you make in the files after update will be overwritten and you have to make the changes again.
Please note that customization is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
For customization and other services you can contact our custom work team here: https://tagdiv.com/premium-customization-services/

Thank you for understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.