legend font isze

  • Unknown's avatar

    Is there a way to change font size of legends to illustrations? Can’t find the proper tool.

    WP.com: Yes
    Correct account: yes

    The blog I need help with is: (visible only to logged in users)

  • Hello,

    Unfortunately, I don’t think there is a specific tool for this. But you can edit the Image Block HTML:
    https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/

    I have inserted an Inline CSS code inside the <figcaption class=”wp-element-caption” element which is the caption element:

    style="font-size: 20px"

    Px is the font size, you can put whatever size you need: 12px, 15px, 20px, etc.

    The internal code looked like this:

    <figure class="wp-block-image is-resized"><img src="https://cursoytest.files.wordpress.com/2022/08/emblemas-images-1.png?w=1000" alt= "" class="wp-image-16" width="840" height="840"/><figcaption class="wp-element-caption" style="font-size: 20px"> font size test < /font-size> </figcaption></figure>

    You can try copying and pasting the code above into your image block.

    Hope this helps.

  • The topic ‘legend font isze’ is closed to new replies.