This morning I noticed that my WordPress theme’s image captions were not looking good. In fact, they weren’t looking like image captions at all:

gutenberg image caption not working

How to Fix the Gutenberg Image Caption Style Issue

I use Divi theme, but this fix should work in every WordPress theme. All you need to do is add this to your theme’s functions.php file:

add_theme_support( 'wp-block-styles' );

Add that, and your caption will suddenly look like a caption:

Was this helpful?