Feature images not showing
-
We are using a grid layout with a very simple item template, which contains a feature image with a couple elements tied to a post title and custom field.
In the layout editor we see the feature images, in the rendered page we see only empty divs.
In the layout editor the image appears to be applied to the div as a background-image style.
<div class=”cl-element-featured_media__image” style=”border-width: 0px; font-weight: normal; font-style: normal; text-decoration: none; background-image: url("https://illinoispollinators.org/wp-content/uploads/2022/07/Buttonbush-150×150.jpg"); background-position: center center; background-repeat: no-repeat;” alt=”Featured Image (preview)”></div>In the rendered page, there is no such style attribute.
<div class=”cl-element-featured_media__image” role=”img”></div>If I manually apply the style attribute using the inspector then the image appears.
Can anyone suggest what we need to do to get images to appear?
The page I need help with: [log in to see the link]
- The topic ‘Feature images not showing’ is closed to new replies.