• Resolved aevdh

    (@aevdh)


    Hello awesome people,

    May I bother you once again with a feature request?

    There are already options in the plugin to customize the size and colour of links, paragraph text and various types of headers but as far as I can see there are no options for customization of image captions. As it goes, I tend to avoid using captions as the standard colour is hardly readable on a black background. Instead I use paragraph text formatted as Subscript to make it readable. See for a comparison this example page:

    Could you please consider this request?

    • This topic was modified 2 years, 5 months ago by Jan Dembowski.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Oliver Campion

    (@domainsupport)

    Hmm, I think I understand … can you please add this CSS to “Customizer – Additional CSS” …

    [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
    font-style: normal;
    color: white;
    }

    … and let me know if that does what you require?

    If so I’ll take a look at the block settings / global styles because this may well be more related to Gutenberg Block Editor than the theme.

    Oliver

    Thread Starter aevdh

    (@aevdh)

    Captions look much better this way yes, very well readable on black background.

    Plugin Author Oliver Campion

    (@domainsupport)

    OK, I’ve taken a look at the block settings and you can change the colour of the text to white by clicking on the caption, then clicking on the little down arrow “Display more block tools” then click “Highlight” and then choose the white dot as the text colour.

    What you can’t seem to do is prevent the caption from being italic. But I think this is a bug with the theme whereby the caption text isn’t italic in the editor but is when you view on the front end so I’ve raised a ticket.

    In the meantime, the CSS above will do what you require.

    Oliver

    Thread Starter aevdh

    (@aevdh)

    Thank you Oliver!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Feature request: option to customize image ‘caption’ text’ is closed to new replies.