1 (edited by iamteejay 2014-06-25 20:15:11)

Topic: Line Height Styles for Captions and Titles

Hi

I am having trouble getting the image Title (name) to be closer the Caption below it. Even adjust the following CSS it nothing seems to be affecting it

.jb-caption p
.jb-title p
#juicebox-container

I can change the color using
#juicebox-container

Here is the page where you can see that the caption bleeds off. I want less space around the image, not more, wanting the line height tighter.

http://davidfrenchsculptor.com/2013/

But not the line height. Any suggestions?

Re: Line Height Styles for Captions and Titles

The easiest workaround (without resorting to CSS modification) would be to increase both your maxCaptionHeight and imagePadding. It would not reduce the spacing between the image title and caption but it would ensure that your caption is not vertically truncated and would also ensure that the top of the caption does not overlap the main image.

If you want to try tweaking the CSS, try the following in your gallery's embedding page:

.jb-caption p {
    line-height: 16px !important;
}