Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-07-26 04:24:30

Rainer Goergen
Member
From: Trier, Germany
Registered: 2016-05-01
Posts: 401
Website

Font of the caption under the single image page

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

#2 2017-07-26 04:38:51

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Font of the caption under the single image page

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

#3 2017-08-01 22:48:36

Rainer Goergen
Member
From: Trier, Germany
Registered: 2016-05-01
Posts: 401
Website

Re: Font of the caption under the single image page

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

#4 2017-08-01 22:57:50

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Font of the caption under the single image page

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

#5 2017-08-01 23:05:33

Rainer Goergen
Member
From: Trier, Germany
Registered: 2016-05-01
Posts: 401
Website

Re: Font of the caption under the single image page

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

#6 2017-08-01 23:35:19

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Font of the caption under the single image page

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

#7 2017-08-02 01:14:56

Rainer Goergen
Member
From: Trier, Germany
Registered: 2016-05-01
Posts: 401
Website

Re: Font of the caption under the single image page

Thanks, you are great - with way too much time on your hands.

Rainer

Offline

Board footer

Powered by FluxBB