Media Embeds Now Cut Off/Weird Spacing?

Starting a few months ago, suddenly the media embeds on our site had all kinds of weird formatting issues. Sometimes there’s randomly gaps underneath the embedded tweets/Instagram posts, sometimes they’re cut off.

Our site is sdccblog.com. We use Classic Editor where we can just paste the url of the tweet/Instagram post and never had a problem until recently.

Any idea how to fix?

Screenshots:
Weird Gap under tweet (no extra spaces in html):

Instagram image cut off:

Hi @slacey,

Thank you for writing in, there is a custom CSS to fix the Instagram issue, but it does not play well with the tweet (Gap under tweet). Please follow the suggestion provided here instead.

Both Instagram and Twitter provide an embed code, please use that instead of pasting a direct link to the posts and letting the WP Classic Editor making its own embed code.

Cheers!

Hi, would you mind sharing the custom CSS you mentioned? Thanks!

Hi @milkkore,

Please check this thread:

Hope this helps.

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