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
I can't figure out how to make drop shadows on my gallery thumbnails, both the gallery list page and the individual image thumbnails.
http://www.scottwaltonphotographs.com/B … galleries/
http://www.scottwaltonphotographs.com/B … ight-test/
I've turned on what seems to be drop shadows in the settings but I don't see them.
Even though my page background is dark and might be masking a shadow, I tried setting the page background to white and there was no shadow there.
Thanks for any help.
Scott
Offline
the built in shadows are pretty subtle:
box-shadow: 0 0 3px rgba(0,0,0,0.25);
If you want something more substantial, use custom css. The selector is .gallery figure for albums
and .albums figure a for album sets.
the code will look like this, but with your own box-shadow settings. This should equally affect album and album set thumnails:
.gallery figure, .albums figure a {
box-shadow: 0 0 3px rgba(0,0,0,0.25);
}
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 Rod!
Offline
I have put this code in my custom css file & it works great on gallery thumbnails, but not on
the gallery set masonary thumbnails. Have I missed something?
Pangolin 122 test site: http://www.michaelregan.uk/cornwall-galleries/
Thanks MikeR
Offline
album set thumbnails require a different selector. this looks like it should work:
.albums-masonry figure a .item {
border: 1px solid #000000; box-shadow: 3px 3px 3px rgba(0,0,0,0.4);
}
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
Brilliant that has worked!
Thank you very much for such a quick response!
Much appreciated
MikeR
Offline
some other selectors in the 1.2.x version will be different as well. So if you were running with 1.1.1 and using custom css, some things may not work as expected. Usually you can just probe the page with the browser inspector to see the selectors and apply the same css as before, only to the new selectors.
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 for the advice, the hardest thing as always is knowing where to look!
Offline
I'm converting to v1.2.x and can't figure out the CSS selector for setting Pangolin Classic gallery thumbnail drop shadows. And, BTW, I see no drop shadows when they are supposedly turned on using BL Designer.
Rick
Offline
did you see #2 above?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Yup, Rod, tried that -- ".gallery figure" puts a drop shadow on each thumbnail's surrounding frame, not on the thumbnail itself. See http://test.samcos.com/galleries/album- … /index.php versus what I did in CE4: http://rick.samcos.com/galleries/a-Favorites/.
Rick
Offline
I get it.
try .gallery img for the selector.
also, the built -in Backlight drop shadows are on the frame, not the thumbnails
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, that did it. But, for non-square thumbnails, only draws drop shadow on the narrower side (i.e., drop shadow isn't drawn into thumbnail's padding area). Not worth it to me to pursue further; I'll just drop shadow the containing frame (i.e., use ".gallery figure" selector).
Rick
Offline
on second though, applying shadows to that just looks weird. Vertical images will have the shadow to the side and will have it cut off at the bottom. Horizontals will show it at the bottom and have it cut off at the sides.
You could try playing with Minimum Cell Padding in the album designer, but I don't know...
Might not be all that easy to add drop-shadows to the thumbs themselves.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
ah. you saw that too.
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