Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2016-05-20 00:20:50

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

add borders to thumbnails in albums and album sets

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 1.1.1 test site, Pangolin test site

Offline

Board footer

Powered by FluxBB