1 (edited by zarzash 2016-09-11 10:53:18)

Topic: Customize image title and caption font size [SOLVED]

Hello,

is there a way to change the size of the font for the title and caption of an image other than in the theme.css file?
I dit not find a configuration option for this.

Cheers-

Re: Customize image title and caption font size [SOLVED]

There are no configuration options available to change the font size of image titles and captions.

However, you can style individual image titles and captions using HTML formatting as noted in this FAQ:
How do I add HTML formatting to image captions and titles?

Otherwise, you can change the size of all image titles and/or captions at once using CSS such as:

/* IMAGE TITLE */
.jb-caption .jb-caption-title {
    font-size: 20px !important;
}

/* IMAGE CAPTION */
.jb-caption .jb-caption-desc {
    font-size: 18px !important;
}

/* IMAGE NUMBER */
.jb-cap-frame .jbac-number {
    font-size: 12px !important;
}

You could add this CSS to the end of your gallery's 'jbcore/classic/theme.css' file or wrap it in <style type="text/css"> ... </style> tags and add it to the end of your gallery web page's <head> section.

Re: Customize image title and caption font size [SOLVED]

Thanks! That worked perfectly.

Re: Customize image title and caption font size [SOLVED]

You've welcome!
I've glad you've been able to resolve your problem.