Options

How do I close up blank space beneath gallery titles?

ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
edited January 20, 2015 in SmugMug Customization
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.
/* 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;
}

Comments

Sign In or Register to comment.