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 2018-01-25 18:36:46

richam
Member
From: Preveza, Greece
Registered: 2013-01-06
Posts: 143
Website

Font style in image captions

It seems simple, but couldn't figure it out, so asking help for my brain freeze.  I want to display image captions in italics or underline, but mixed in the display.  Specifically, I want the Title in normal text and Caption in italics.  Is there a way to do this?

Offline

#2 2018-01-26 00:12:21

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

Re: Font style in image captions

you'll need to use custom css:
http://ttg-tips-and-tricks.barbeephoto. … rge-images

For thumbnail metadata, you'll be able to control Title and Caption fields independently. Large images use only a Caption field so any changes via custom css will affect all text in that field.


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 2018-01-26 01:02:12

richam
Member
From: Preveza, Greece
Registered: 2013-01-06
Posts: 143
Website

Re: Font style in image captions

Rod, Thanks.  I really wanted this for a Galleria large image presentation.  I guess it can't be done.  I'm relived that I wasn't brain damaged.

Offline

#4 2018-01-26 01:33:06

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

Re: Font style in image captions

Looks like the selectors for Galleria would be:

.galleria-info-title for the title field
and
.galleria-info-description for the caption field


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 2018-01-26 15:50:46

richam
Member
From: Preveza, Greece
Registered: 2013-01-06
Posts: 143
Website

Re: Font style in image captions

rod barbee wrote:

Looks like the selectors for Galleria would be:

.galleria-info-title for the title field
and
.galleria-info-description for the caption field

Rod,

Tried the selectors.  The former had no effect; the latter changes the entire Title and Caption display.  Example -- set the title to red and description to yellow:

http://www.michaelrichardsphotography.c … ey/ankara/.

Mike

Offline

#6 2018-01-26 17:15:49

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Font style in image captions

Hi Mike,

Because you've actually got both Title and Caption assigned to the same block. I imagine your template settings are something like this:

Title : Off
Caption : [Title] - [Caption]

To operate on these separately, your template needs to be set up as:

Title : [Title]
Caption : [Caption]


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2018-01-27 00:08:10

richam
Member
From: Preveza, Greece
Registered: 2013-01-06
Posts: 143
Website

Re: Font style in image captions

Matthew, Got it, thanks.  Works now.

Offline

Board footer

Powered by FluxBB