How to add CSS to wp-embedded posts

Hi, I’m trying to customize the wp-embed feature that adds a post teaser to the end of a post. The changes work fine when I’m inspecting the CSS, but when I add them to X’s customizer, the changes don’t have any effect. Can you take a look?

website: https://www.upstatefilms.org/american-utopia

The issue is discussed in these two posts, but I’m not sure how to proceed.

Thanks for any help you can provide.

Hi Hudsonpilot,

Thanks for reaching out.
The CSS can’t be implemented directly into the iframe as other CSS work. Either you need to add the CSS code into the iframe tag using the Style attribute or you need to add the CSS code into a separate file and linked it with that iframe. I would suggest you go through the following articles which may help you with this.


Thanks

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