Archived topic
background for photos and their captions
5 replies · Started by Laura Stella on December 31, 2020
Is there a way to keep a photo caption from getting visually confused with regular text? Is there a way to put a background that ties the caption to its photo without adding css or php, which I am too scared to do? I'm an amateur. Thanks everyone.
And have a great new year!! (Holy Moly, let's hope, huh?!)
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Link sent in private information box
Hi Lauran,
Unfortunately the theme doesn't have control for the image caption color.
But with css it's can be done easily, here is it if you would like to try :)
figcaption {
background: white; /*change to whatever color you think look good */
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Hi, Ying - Happy Jan.1!!!
I'm an amateur, so forgive my fear of dealing with code.
I just downloaded the plug-in for adding css, and this is the page that came up. Is this where I cut and paste your code?
https://postkatrinastella.com/staging/wp-admin/themes.php?page=simple-css
Hi Laura,
Happy new year!
I can't log in the link you sent without password or user name.
I would recommend to use Additional CSS, it's an option in customizer so that you won't need install any plugins.
https://docs.generatepress.com/article/adding-css/#additional-css
You can find Additional CSS here:
https://tinyurl.com/y9ld62tk
Once you are in it, just copy & paste the CSS code, then click publish.
https://tinyurl.com/yb6v4jo5
Let me know :)