Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Hi I use the font Cormorant Garamond from Google Fonts. But the caption under the single image page is shown in Arial.
I don't find the right code to change this too.
Old class was - pswp__caption -
Rainer
Last edited by Rainer Goergen (2017-07-26 04:25:57)
Offline
by default, I believe the captions will use the base font you've set under Typography in the page template.
As you've seen the old Photoswipe class doesn't work with single image pages.
Try:
figure.single_image figcaption {
font-family: your-font;
}
If you decide to use the slide show presentation, the selector is .fancybox-caption
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi, only .fancybox-caption works and the right font is now displayed. But I don't find how to change the font size.
Font-size does not work.
Rainer
Offline
Are you using the Single image presentation of the slide show presentation?
Can you post a link to an album that's having problems?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I use - Photo Presentation - Slideshow. This is ok, I don't need the - Single-image Pages -.
But I want to change the fontsize of the caption a little bit.
http://www.rainer-goergen.de/galleries/ … /index.php
Hidden album.
Rainer
Custom CSS is: pangolin.css
Last edited by Rainer Goergen (2017-08-01 23:06:14)
Offline
try this selector:
.fancybox-caption-collapsible .fancybox-caption
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks, you are great - with way too much time on your hands.
Rainer
Offline