How do we configure default height for codepen embeds?

Here’s an example, which will have a default height:

It has a default height. Can we configure the default height somewhere?

1 Like

I think it’s set directly in the iframe on Codepen’s end? either way you can add some CSS to your site (admin > customize > themes) to override it:

.cp_embed_iframe {
    height: 500px;

That’s true, but we would have to do that with every post.

That does the trick. Thanks!

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