Archived topic
How can I change image caption text style?
9 replies · Started by Alex on November 17, 2019
Out of interest, apart from writing custom CSS which wouldn't be easy to do, is there any way to create an image caption style that distinguishes image captions from regular paragraph text as it looks quite odd that all of the text just blends together?
It doesn't seem to be an option in the WordPress customizer :)
Hi there,
This should help:
https://generatepress.com/forums/topic/increasing-caption-size-by-one-size/#post-1065037
Let me know :)
Hi Leo, thanks for the quick response. Great – that was how I did it before I saw this, I was just wondering if there was a better/built-in way to do so 😄
Thanks,
Alex
No problem :)
How can I simply adjust the caption left and make it a bold and larger font?
Really appreciate any help.
It should be aligned left by default.
Can you link me to the page in question?
Feel free to open a new topic so you can use the private info field.
Let me know :)
Hi Leo, thanks for getting back so quickly.
Here is a page with captions, the site is under construction, but live for the moment.
I'd like the caption to be aligned left and bolder.
Thanks
Try this CSS:
.wp-block-image figcaption {
text-align: left;
font-weight: bold;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thanks Leo! That worked.
No problem :)