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 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
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
Thank you Rod, tried that too with no effect.
#home-page .gallery {
margin: 15% auto 0;
}
Offline
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
Dear Rod,
that worked :-)
Thank you so much!
Best regards,
Oliver
Offline
Pages: 1