Change styling of captions under image

The captions under images are in all capitals and it looks a bit harsh. I would like the captions to be lower case on the whole. Could you tell me how I could change it please?

Hi there,

Please try this coded in the Global CSS:

.wp-caption>.wp-caption-text, 
.wp-caption>.wp-caption-text:last-child, 
.gallery-item>.wp-caption-text, 
.gallery-item>.wp-caption-text:last-child {
    text-transform: lowercase;
}

You can find more info on how to check for CSS selectors here.
Then information about writing your custom CSS here.

Hope this helps.

That is great! Thanks. Is it possible to tweak it a bit so that the text is slightly bigger than it currently is? I did look at the pages you linked to in your answer but I am not confident enough with CSS to figure out how to do that myself.
Thanks

Hi again,

Try replacing the previous code with the following code:

.wp-caption>.wp-caption-text, 
.wp-caption>.wp-caption-text:last-child, 
.gallery-item>.wp-caption-text, 
.gallery-item>.wp-caption-text:last-child {
    text-transform: lowercase;
    font-size: 17px;
}

Feel free to adjust the font size as per your need.

Hope this helps!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.