@dla23 I don’t think it is possible to customize the color of that caption in Gutenberg. I think the theme provides the default color, but I understand there is no option you could change. Are you familiar with CSS? If so, you could probably target that caption with a rule like .wp-block-image figcaption { color: #000; }
Thread Starter
dla23
(@dla23)
Thanks for you reply.
Actually, (as I said) I’m not using Gutenberg yet.
But it’s odd as I have a test site and I’ve loaded the same theme onto that.
Guess what? The background color of captions is a different color!
Oh well, I’m none too familiar with CSS so I’ll either stick with it or I’ll record my carefully chosen colors, uninstall then reinstall the theme and, one by one change the colors back to my chosen ones.
@dla23 To customise colour of the caption, you need to do the following:
Go to Settings -> Customise (Themes pane) -> Additional CSS
Copy-paste this css snippet into the text area:
.wp-caption p.wp-caption-text
{
background-color: #ff00ff;
}
Change #ff00ff to the color you need.
Thread Starter
dla23
(@dla23)
Excellent! That works just fine.
Thanks for your help.
@dla23 You are welcome. I’m glad we were able to help.