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-01-28 08:25:33

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

CSS for Vegas slideshow

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? big_smile

Rainer

Offline

#2 2017-01-28 08:40:37

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

Re: CSS for Vegas slideshow

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

#3 2017-01-28 08:43:00

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

Re: CSS for Vegas slideshow

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

#4 2017-01-28 08:48:53

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

Re: CSS for Vegas slideshow

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

#5 2017-01-28 17:17:43

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

Re: CSS for Vegas slideshow

Thanks, didn't know about the - > - in css code. Once more something learned.

Rainer

Offline

#6 2017-01-28 23:26:30

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

Re: CSS for Vegas slideshow

.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

#7 2017-01-28 23:32:27

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

Re: CSS for Vegas slideshow

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

Board footer

Powered by FluxBB