• Resolved Haldan

    (@hblecher)


    Hi Anders,

    I can’t seem to figure out how to style the <figcaption> in the .wp-block-embed globally using additional CSS. I essentially just want to be able to style the captions on a video embed globally, without having to do it inline every single time I embed a video.

    I dug through the theme css to see if you were using something funky to style the embed block, but I’m not seeing anything weird. Any tips? Thanks.

    Update: nevermind, I figured it out. I added this to custom CSS. I must’ve had things backwards:

    .wp-block-embed figcaption { font-size: smaller; }

    • This topic was modified 4 years, 6 months ago by Haldan.

    The page I need help with: [log in to see the link]

The topic ‘Styling figcaption with CSS’ is closed to new replies.