Padding between Gallery Description and Thumbnails?
pmbpro
Registered Users Posts: 236 Major grins
Hi everyone,
Does anyone know if it's possible to add some padding/space between a gallery's description and the actual thumbnails?
I have the code for adding space between the breadcrumbs and description, but not below the description. The only thing I could think of to accomplish this was to add two <br> tags below the text, but I was hoping I wouldn't have to do this for every gallery.
Here's an example page to illustrate, where the description is too close to the thumbnails for my liking:
http://www.pmbimages.com/Galleries/People/Candids/Norman-Reedus
Is this possible to add padding with a CSS code? Can someone help?
Thanks. :-)
Does anyone know if it's possible to add some padding/space between a gallery's description and the actual thumbnails?
I have the code for adding space between the breadcrumbs and description, but not below the description. The only thing I could think of to accomplish this was to add two <br> tags below the text, but I was hoping I wouldn't have to do this for every gallery.
Here's an example page to illustrate, where the description is too close to the thumbnails for my liking:
http://www.pmbimages.com/Galleries/People/Candids/Norman-Reedus
Is this possible to add padding with a CSS code? Can someone help?
Thanks. :-)
pmb images
Film/TV Stills Photography
"When your work speaks for itself, don't interrupt." ~ Henry J. Kaiser
Film/TV Stills Photography
"When your work speaks for itself, don't interrupt." ~ Henry J. Kaiser
0
Comments
.sm-gallery-header-has-description {margin-bottom: 20px;}
My Website index | My Blog
.sm-gallery-header .sm-gallery-description {
margin: 0px 275px 25px 30px;
}
Change the values to suit your taste. I am using a 25px space between the gallery description and thumbs.
www.richknechtphotography.com
YAY! It worked. I'm using 30px for my padding.
Thank you so much Allen and RKnecht!! I really appreciate your help and quick responses.
Film/TV Stills Photography
"When your work speaks for itself, don't interrupt." ~ Henry J. Kaiser
My Website index | My Blog
My Website index | My Blog
SmugMug: sm-gallery-smugmug
Thumbnail: sm-gallery-thumbnail
Collage Landscape: sm-gallery-roworganic
Collage Portrait: sm-gallery-columnorganic
Journal: sm-gallery-journal
Slideshow: sm-gallery-slideshow
Using the above CSS class, the change can be applied to just SmugMug style galleries like so:
Then embedded down in them is the style. The problem I'm having is parent/child relationships, and not
being able to flow down things like a banner/logo added to a folder also applying to its children.
My Website index | My Blog