Add margin to fullscreen slideshow

chris_swisschris_swiss Registered Users Posts: 5 Big grins
edited August 22, 2018 in SmugMug Customization
Hi everybody!

I adjusted the css "add a margin to the lightbox" from Nicolas Sherlock (very cool, THANKS!) to add a margin to the gallery slideshow. It works perfectly but now even the fullscreen slideshow on my homepage is affected:-( That one should not have any margins... Anybody with an idea to fix that?

/* add a margin to a fullscreen slideshow */
.sm-slideshow-image {
-webkit-transform: scale(0.97);
-moz-transform: scale(0.97);
-ms-transform: scale(0.97);
transform: scale(0.97);

-webkit-backface-visibility: hidden;

-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;

background-repeat: no-repeat;
background-position: center center;
background-size: contain !important;
}

Comments

Sign In or Register to comment.