• I am currently making the switch to Gutenberg and most things seem to be fine. But I am having issues with image captions.

    Before Gutenberg, image captions were centre aligned and italic, and gallery captions popped up on hover but were otherwise invisible. Now, the image captions are standard text by default and I can only make the italic manually, and they are stuck at left align with no option to centralise them. Also, the gallery captions are permanently over the image, not just on hover.

    Is there a way to fix this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @emilyluxton,

    Although there are many things about Gutenberg I love, I don’t much care for how the Gutenberg image gallery works compared to the original WordPress gallery.

    In many cases, I revert back to using the WordPress gallery because I want the captions to be underneath. And, I like the random order option which is not supported in the Gutenberg gallery.

    Have a look at the Gallery Image Captions (GIC) plugin. Disclaimer, I’m the author. I have a few examples of how to style the gallery image captions with and without the plugin.

    You can do a fair amount of styling without the plugin using a combination of the shortcode settings and custom CSS. That’s what I like about the gallery shortcode.

    But, if you are a power user and are comfortable writing WordPress filters, then GIC allows you to style the caption almost any way you want.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Image Captions After Gutenberg’ is closed to new replies.