Styling figcaption with CSS
-
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; }
The page I need help with: [log in to see the link]
The topic ‘Styling figcaption with CSS’ is closed to new replies.
