Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Paul,

    Try adding this code to your stylesheet:

    .gallery .gallery-caption {
        color: #777;
        font-size: 12px;
        margin: 0 0 12px;
        line-height: 1em;
    }

    Specifically, we are targeting the .gallery-caption ‘s line-height and reducing it to 1em. You can play around with it in pixels too if you want finer control. I believe em’s are estimated in 16px quantities.

    I got to this solution by right clicking on the caption (in Chrome) and going to Inspect Element. This brings up the Chrome inspector. Look at the box titled Styles and you’ll see the specific CSS code to edit.

    Hope this helps!

    • This reply was modified 9 years, 4 months ago by jjchrisdiehl.
    Thread Starter paulriedesel

    (@paulriedesel)

    Yes indeed, though it took a couple refreshes before the change took effect. Viele Dank.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Line spacing in captions’ is closed to new replies.