Paragraph alignment issue for RSS newsletters

We create an RSS newsletter, however, we are having alignment issues when the text is next to featured image (ie text on left and featured image on right). Each post text starts roughly 1/2 a line below the top of the featured image beside it. We want the start of the text to be inline with the top of the image.

This issue occurs in both MailChimp and the newsletter creation plugin, MailPoet. I have attached screenshots showing what is happening below.

The ‘fix’ is to manually change the paragraph HTML on each story with <p style="margin-top: 0px;">
This can be done in MailPoet when adding the posts to the newsletter, however, not the automatic MailChimp emails.

Is this an issue with my X Theme paragraph styling (which is the default settings in X Theme)?

How the email mis-alignment looks

Hi There,

Please try adding the following CSS under Customizer > Custom > Global CSS:

p:empty {
display: none;
}

If it doesn’t work, please provide us with the link you’re working so we can take a closer look.

Thanks.

Hi Thai,
Thanks. I tried the css but it did not help. I still have the css saved in the Global CSS.
I get the same result in using both the MailPoet Newsletter creator and MailChimp RSS (when formatted with text on left and image on right).
I have included a direct link to the newsletter test issue and login details below.
I hope you can find the issue.

For this newsletter, I have included 2 stories as an example. The top one is with no fix and the bottom includes the manual fix. Currently, to get all the text to line up, I need to manually copy and paste the fix into every text html. Please note that both were created after I inserted your CSS into the website’s Global CSS.

To add another story, drag the “WordPress post” widget into the newsletter and select one story to insert. It should already be set to have the image on the right.
A preview of the newsletter can be emailed via the “Send Preview” input and button at the bottom of the page.

Please also note that we are about to have a massive purge of the website as we split it into about 10 separate websites with streamlining of the settings and plugins.
[/details]

Hello There,

When we visit the feed in a normal browser, this is the only thing we see:

Please keep in mind that X theme doesn’t modify the RSS feed and it only uses the default WordPress feed. How it may look in the RSS feed reader will depend on the reader any any plugin you may have used to display it. It sounds like you might be having an issue with a third party plugin MailPoet and Mailchimp RSS. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

Thank you for your understanding.

Thanks again for your help.
I thought this could be a theme issue as, while MailChimp takes the RSS feed, the MailPoet plugin is accessed and run within Wordpress and inserts stories directly from the Wordpress post database - no RSS feed is used.
It looks like this affects the first paragraph on a page/post, not the title. If it was fixed by modifying the theme with CSS that would be fantastic. Any insight would help.

Hello There,

Thanks for updating in! This is the case where you need to customize the output of your RSS feed. Please refer to the codex to be able to do that. You can check this link: https://codex.wordpress.org/Customizing_Feeds

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.