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.
Here's some css to add borders around thumbnails in albums and album sets
This one adds a border to album thumbnails in albums using the classic thumbnail layout.
If using the Masonry layout (and not using the classic layout anywhere on your site), then use the border settings for the cell in the Designer.
If you have a mix of classic and masonry albums, you can still use this, just make sure that in your Masonry template that 1) you're not using a cell border and 2) you're not using a border radius on the cells.
/*Adds border around thumbnails in albums using classic thumbnail presentation
=======================================================*/
.pswp_go {
border: 1px solid black;
}
This css will add a border around the thumbnail in Descriptive Album Sets.
/*Add border around album set images in descriptive album set
========================================================*/
.album-thumbnail img {
border: 1px solid black;
box-sizing: border-box;
}
I've not tested these with all possible layout options, but they seem to work with the caveat about masonry thumbs in albums.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline