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 2019-03-31 12:03:31

sobelm
Member
Registered: 2017-05-07
Posts: 18

How to control Image captions pulled from metadata

I'm having difficulty controlling the font size and positioning of titles for my photographs in galleries.

http://www.noticeofproposedlanduseactio … d=1&pid=14

Currently the title is in a small font, and not centered under the photo - but I can't figure out where the font characteristics and positioning are determined.  The copy is pulled from the "caption" field of the metadata. 

Any help would be appreciated.

Michael

Offline

#2 2019-03-31 14:34:17

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

Re: How to control Image captions pulled from metadata

This needs to be done with custom css:

https://ttg-tips-and-tricks.barbeephoto … rge-images
I believe that tip will work with Backlight 2 as well as Backlight 1.2.x


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 2019-03-31 23:05:37

JimR
Member
Registered: 2012-11-30
Posts: 348
Website

Re: How to control Image captions pulled from metadata

.pswp__caption__center {
    text-align: center;
    font-size: 1rem;
}


--Jim

Offline

#4 2019-03-31 23:20:07

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

Re: How to control Image captions pulled from metadata

JimR wrote:

.pswp__caption__center {
    text-align: center;
    font-size: 1rem;
}

That selector would be for large images in Slide show mode in Backlight 1 (Okapi)
See the link above for Pangolin

(For Backlight 2. Large image caption alignment controls are in the template under Photo Presentation.)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB