Image Centered Above Text not centered
-
Hi, I’m trying to add the featured image in the RSS feed in order Brevo to embed it in the description tag.
Featured Images in RSS for Mailchimp & More seem to do the job, but I can’t find how to get the featured image centered above the excerpt in the newsletter sent by Brevo.
While the RSS image alignment setting is set to Image Centered Above Text (RSS Image Size being set to Medium and RSS image to text padding to 35px), the featured image is on the left and the text starts on the lower right of it, as you can see on this screenshot:

The feed looks like this, for the description tag :
<description><![CDATA[<img width="225" height="300" src="https://domain.com/wp-content/uploads/2023/11/photo-225x300.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="" style="display: block; margin: auto; margin-bottom: 35px;max-width: 100%;" link_thumbnail="" decoding="async" fetchpriority="high" srcset="https://domain.com/wp-content/uploads/2023/11/photo-225x300.jpg 225w, https://domain.com/wp-content/uploads/2023/11/photo.jpg 532w" sizes="(max-width: 225px) 100vw, 225px" />Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. […]]]></description>When I view the newsletter in a browser, adding the following CSS lines to the CSS, the text starts under the picture:
img.webfeedsFeaturedVisual.wp-post-image {
display: flex;
position: relative;
align-items: center;
justify-content: center;
}So, my question is: how do I set up the Featured Images in RSS for Mailchimp & More plugin to work like I want it to, i.e. center the featured image above the text?
WP 6.9 + Featured Images in RSS for Mailchimp & More 1.7.1
You must be logged in to reply to this topic.