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
Hi, I found in Vegas slideshow the class: .vegas_caption.
I can center the caption text with text-align: center, I also can set the background color.
But I don't find a solution how to change the font-size and the font color.
Expert Rod - this will be a peanut for you - or not?
Rainer
Offline
according to the browser inspector, it looks like the selector is:
.vegas-caption > .content
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
What is the right writing in css?
I found .vegas_caption and before .content.
R.
Last edited by Rainer Goergen (2017-01-28 17:18:41)
Offline
oops, should be .vegas_caption > .content
.vegas_caption > .content {
font-size: 2em;
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
Thanks, didn't know about the - > - in css code. Once more something learned.
Rainer
Offline
.vegas_caption > .content {
font-size: 2em;
color: red;
}
This is right - but what is the difference to this:
.vegas_caption > .content p {
If I set to .content p also a font-size: like 5 rem, this will overrule the code above.
Rainer
Last edited by Rainer Goergen (2017-01-28 23:29:24)
Offline
That's because .vegas_caption > .conten p is more specific and will take priority.
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