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.
Pages: 1
How do I get captions for my slideshow? I have Title selected in Image Info but it doesn't seem to have any effect. All images have full metadata.
Offline
Hi David,
A couple of things to check.
First, make sure that ShowInfo is checked in the Galleria settings.
Second, by default the captions are not shown upon the slide show loading. At the upper right of the slide show is an Info icon. Clicking this will show the captions.
Alternatively, you can check the option to showInfo on load
http://ce4.theturninggate.net/docs/doku … ia#options
In the Image Info control pane, make sure the Title and Caption labels are displaying the metadata you wish them to.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Okay, got it. Can the caption be centered? Are there any font options? Color seems to be same as UI color.
Offline
You can control the caption font and alignment with custom css.
If you haven't done it already, you'll need to enable phplugins: http://ce4.theturninggate.net/docs/doku … _phplugins
and then enable custom css: http://ce4.theturninggate.net/docs/doku … custom_css
The selectors are:
.galleria-info-title
and
.galleria-info-description
If you want to do that and need some help, just let us know.
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 Rod, not having any joy enabling phplugins.
I got the server path okay then opened phplugins.php in DW and removed /* DELETE THIS LINE and DELETE THIS LINE */
but when reloading the background does not turn red as expected.
Offline
the css is being applied, I can see the code in the page source. You just have a color assigned to the various page sections (masthead, block, grid, etc.) and those are hiding the page background color.
add this to the custom css file and you'll see your text turn red:
p {
color: red;
}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Okay, that worked. So how do I alter .galleria-info-title
and
.galleria-info-description ?
What I want is for the caption to be centered with 11pt verdana italic #cccccc
Offline
depends on what you want to do.
This will change the font color, the font size and the alignment:
.galleria-info-title, .galleria-info-description {
color: #29B130;
font-size: 1.2em;
text-align: center;
}
just change the color using a color hex code or keyword and fonts and font size as needed.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
we overlapped!
try this:
.galleria-info-title, .galleria-info-description {
font-family: verdana;
font-style: italic;
color: #cccccc;
font-size: 11px;
text-align: center;
}
Verdana will show up only if the person viewing your site has that font on their computer (unless you want to get into more css that will load the required font). Therefore you should add some fall-back fonts that should be found on more computers:
font-family: Verdana, Geneva, Tahoma, Roboto, 'Droid Sans', sans-serif;
or whatever you want.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Excellent - thanks for that!
Offline
you're welcome
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1