Archived topic
Caption Size Isue
5 replies · Started by John Retzer on January 20, 2020
The photo captions are the same size as the text on the pages, making them hard to distinguish. They are smaller, however, in the editor. How can I fix this?
Thanks
Hi there,
Can you guide me to a page where I can see the issue?
Let me know :)
Try this CSS:
.wp-block-image figcaption {
font-size: 10px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
That did the trick. I just increased the 10px to 12px and to my eye it looks perfect.
Sounds good :)
You can set mobile specific size if needed as well:
@media (max-width: 768px) {
.wp-block-image figcaption {
font-size: 10px;
}
}