How do I close up blank space beneath gallery titles?
ChancyRat
Registered Users Posts: 2,141 Major grins
I tweaked code from Sherlock: http://www.sherlockphotography.org/Customisations/Rounded-corners and from Aaron, #23 here: http://dgrin.com/showthread.php?t=251338.
Example folder with gallery thumbnails: http://www.joinrats.com/ModifyBehavior/RAT-C
How can I close up the empty space between the bottom of the gallery title, and the very bottom border? Not understanding the css I guessed repeatedly, but nothing touches it. It also can't be affected by the Folder settings (spacing, etc.).
The attached images shows in pink the space I would like to eliminate.
Thanks.
Example folder with gallery thumbnails: http://www.joinrats.com/ModifyBehavior/RAT-C
How can I close up the empty space between the bottom of the gallery title, and the very bottom border? Not understanding the css I guessed repeatedly, but nothing touches it. It also can't be affected by the Folder settings (spacing, etc.).
The attached images shows in pink the space I would like to eliminate.
Thanks.
/* Borders for thumbnails in folders, and galleries*/ .sm-page-widget-folders .sm-tile, .sm-page-widget-galleries .sm-tile, .sm-page-widget-nodes .sm-tile{ box-shadow: 0px 0px 1px 1px #6B6B6B; border-radius: 1px; padding: 10px !important; background-color: rgba(255, 255, 211, 1) !important; -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); } /* Place Titles on Thumbnails in Folders. Will wrap the long gallery titles in the grid format. */ .sm-tiles-grid .sm-tile-info p:nth-of-type(1) { box-shadow: 1px 1px 1px 0px #4A4B4C; text-align: center; margin-left: 4px !important; padding-right: 12px !important; padding-left: 12px !important; padding-top: 3px !important; padding-bottom: 3px !important; font-size: 20px !important; overflow: visible !important; white-space:normal !important; height: auto !important; background-color: rgba(255, 255, 175, 1) !important; }
0
Comments
to this should make it closer:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
to this:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
This was a smidgeon-bit of helpful, thanks! Still got a big fat bottom of empty though.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I'm not seeing the '!important' tag, so you still have '1.2em' bottom padding.
If you are NOT using captions, you can change 1.3em to '0':
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
You said something really intriguing - "if I'm not using captions"...
How would I add captions in this context? These are gallery thumbnails in a folder. I thought it was not possible to have captions show up? I would love to add them if that's possible. Here I am trying to seal up space allocated to captions, when the reality is that I didn't know the blank space was for captions, and I thought they weren't even doable.
I don't know. I just see this in the HTML '<p class="sm-tile-caption" itemprop="description"> </p>'.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk