How to style gutenberg image captions within post content?

Redoing an old site (old posts) with Bricks. When writing a lot of those posts, I frequently wrote captions under each image in the gutenberg editor. These have always displayed in a faint gray font (I can toggle bold or italic in gutenberg, but no color styling), but now with the new look I’m building in Bricks I need the captions to be darker. If possible I’d like to make a global switch so it trickles down to all the existing captions on all these posts without needing to adjust each one. Typography settings on the post content element only affect the body text of the post, not the caption. Found a few custom CSS suggestions online (mostly outside of Bricks related forums) and haven’t had any luck placing them either in the editor or out in Bricks settings custom code. Is this possible? Seems simple to me but I really don’t know anything lol. Thank you!!

1 Like

Figured it out like 20 mins later lol. Please disregard. For that one idiot like me finding this thread on google in like 2027, you’re looking for “wp-element-caption” :

.wp-element-caption{
color: #663300!important;
}

2 Likes