Vertical space between thumbnails
James_F
Registered Users Posts: 65 Big grins
Smugmug design, Smugmug gallery style: See the snapshot of thumbnails. How can I reduce the amount of space between rows of thumbnails? Please note that I do have some portrait orientation thumbnails in some galleries. So I do need to preserve some space between rows of thumbnails when a portrait orientation image is present.
0
Comments
Anyone with any ideas?
Prescott, AZ
http://jamesfarrell.smugmug.com
Andy
Andy: Thank you for your response. The only CSS coding for Smugmug gallery style thumbnails I have done is to round the corners and to close the horizontal space between the thumbnails to 3pxs. I don't know CSS coding (I copied the aforementioned from other posts and they work fine). But I don't know how to close the vertical distance between rows of thumbnails. That's the reason for my post.
Prescott, AZ
http://jamesfarrell.smugmug.com
Andy
I have the same issue. I switched one gallery to square thumbs and that fixes it. I don't want square thumbs but it does look better than this.
Dave
.sm-gallery-smugmug .sm-gallery-tiles .sm-tile {margin:-10px 3px;}
Notes: The first margin number - note it's a negative value - subtracts from the default space above and below a thumbnail by 10 pixels. You might tweak that number. Be careful; if you have odd shaped images or verticals (portrait orientation), the thumbnails may overlap and you'll have to change the first number. I did, I left mine at -3 or something for the time being. The second number specifies the space left and right between the thumbnails. New issue: now there's wasted space under the last row of thumbnails (if there is more than one page of images in a gallery.)
I not satisfied with this whole deal yet. Bottom line: I need to revise many of my images to a more consistent aspect ratio. But at least it's a start. Wouldn't it be nice if SmugMug made all of this easier for us users?
Prescott, AZ
http://jamesfarrell.smugmug.com
The full syntax for margin is described here (and in a variety of other places online): http://www.w3schools.com/css/css_margin.asp
Andy