Border problem with thumbnails

bingbangbingbang Registered Users Posts: 17 Big grins
edited November 30, 2016 in SmugMug Customization
Hi There,

I am a brand new (and happy) customer on smugmug (http://patrickbingbang.smugmug.com/), but I have a problem with the borders of my thumbnail images. Basically, all these images were imported and they included a thin white border that do not always appear correctly on the site. I would like to fix this by adding an extra thin border using css, but when I try to do that that I realize that only the top and left borders are added, while the bottom and right borders are left unchanged.

For doing that, I edit the theme and I just add a border property in the syle for "a img", with :

a img {
border: 2px solid #ffffff;
}

Strangely, this works fine for the header image but not for the other thumbnails. I left it as is so you can get a chance to see the result at http://patrickbingbang.smugmug.com/

My guess is that there is an issue with the size of the image as displayed in the corresponding container, so tha the extra border flows over and is not displayed correctly. I did some tests and indeed the image seems to be pushed to the right and is thus cropped. How can I fix this ?

Thanks a lot for your help


P.S. : I did find a part of the solution in the forum, with the following code :

li.sm-tile-wrapper.sm-tile-photo
{
border: 1px solid white !important;
margin: 1px !important;
}

However, as I am using the "landscape collage" presentation, the width of each line is now different... Any idea ?

Comments

Sign In or Register to comment.