Drop-shadow for SM gallery style with non-square thumbs

phaserbeamphaserbeam Registered Users Posts: 452 Major grins
edited November 11, 2013 in SmugMug Customization
Any ideas how to get this to work?

I'm using this code to add a drop shadow to the smugmug gallery thumbs which works well for square thumbs.

However if you turn of square thumbs the shadow will remain for the placeholder, see this test gallery.

Here is the code i'm using:
/* Thumbs */
.sm-gallery-smugmug .sm-tiles-grid .sm-tile-content {
  box-shadow: 5px 5px 4px #222;
}

Comments

  • phaserbeamphaserbeam Registered Users Posts: 452 Major grins
    edited November 11, 2013
    I played a bit with the css codes and i think i found a solution, just if someone is interested:
    .sm-gallery-smugmug .sm-tiles-grid .sm-image.sm-tile-limit-both {
      box-shadow: 5px 5px 4px #222;
    }
    .sm-gallery-smugmug .sm-tiles-grid .sm-tile .sm-tile-content {
      overflow:visible!important;
    }
    
Sign In or Register to comment.