Okay
  Public Ticket #2635758
captions css
Closed

Comments

  •  2
    travelintaiwan started the conversation

    Hi there,

    Very simple questions about captions.

    1. How do I change the font?

    Why is "captions" not an item under typography. Had this issue in other themes too. Don't understand why this is not a separate setting?

    2. The caption in the attached screenshot is too far away from the image. How do I narrow the spacing?

    Thank you very much for you help.

    Johannes


  •  2,963
    Andrew replied

    Hi There,

    Please try this css, Salient > General Settings > CSS/Script Related:

    .wp-block-image figcaption {
        margin-top: -0.5em;
        font-family: arial !important;
    }

    Hope this helps.

    Thanks.

  •  2
    travelintaiwan replied

    Thanks, Andrew!

    I knew it would be something easy like that.

    Best wishes from Taiwan