Streaming live at 10am (PST)

Image caption size not the same in CMS

Why the image caption size is not the same under every image in CMS?
I have 9 images in my blog post and the caption is not the same size for all the images. Why?

In Custom code - Head code I have this:

figure.w-richtext-align-fullwidth figcaption { font-size: 12px; }

Here is my public share link:

Thanks!

It looks like there’s a difference on the figure classes that’s causing the issue:

w-richtext-align- center
vs
w-richtext-align- fullwidth

If you want to account for these differences, you can tweak your custom code a bit so it uses the attribute wildcard selector instead:

figure[class^="w-richtext-align-"] figcaption { font-size: 12px; }

Thank you! I tweaked the code like suggested and everything looks good now. :slight_smile:

1 Like