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-08-23 23:05:16

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

aligning Vegas slideshow

Hi all,

how to vertical align the Vegas Slideshow at the home page that it is always in the browser windows center?
I tried css:

#gallery  {
    margin: 15% auto 0;
}

but affects all other galleries.

Best regards,
Oliver

Offline

#2 2019-08-23 23:23:32

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

Re: aligning Vegas slideshow

You can target the css more specifically using one of the body classes.
There is a class for the template, for instance, that you can use to target only albums using a particular template.


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-08-23 23:24:38

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

Re: aligning Vegas slideshow

Thank you Rod, tried that too with no effect.

#home-page .gallery  {
    margin: 15% auto 0;
}

Offline

#4 2019-08-23 23:44:23

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

Re: aligning Vegas slideshow

wrong selector. There's a class that starts with slug-. Try using that:

.slug-xxxx .gallery {
     margin: 15% auto 0;
}

But look at the page's source code. Look for the <body> tag and you'll see the classes.

post a link and I can tell for sure what selector would work


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 2019-08-25 03:34:13

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

Re: aligning Vegas slideshow

Dear Rod,

that worked :-)

Thank you so much!

Best regards,
Oliver

Offline

Board footer

Powered by FluxBB