Styling Image Captions
-
I’d like some help with changing the styling of how image captions appear. I used to use the Jetpack Tiled Gallery (part of the WordPress Jetpack plugin) for images displaying in posts or on pages, and the captions were hidden, but appeared on mouseover as a semi-transparent overlay. But unfortunately that part of the Jetpack plugin appears not to work with Gutenberg, and the WordPress Classic Editor is no longer available – so my newer post have images with regular text captions underneath, and no overlay on hover.
Here are some examples…
An older post, in which the Jetpack caption overlays still work: https://www.manek.org.uk/2020/01/14/sharma-2000-modifications/
And a newer post, with ‘plain’ image captions: https://www.manek.org.uk/2020/11/09/feeling-like-an-artist/
I’d like to be able to replicate the hover overlay captions I used to get from the Jetpack plugin before WordPress broke it, and I am sure this should be possible to do with CSS – but I have tried styling the captions using both
.wp-caption
andfigcaption
in my custom CSS without being able to achieve the effect I want.I’m hoping you might have some advice on how to do this?
The page I need help with: [log in to see the link]
- The topic ‘Styling Image Captions’ is closed to new replies.