back to gallery from individual photo
gfargo
Registered Users Posts: 21 Big grins
When I am in a gallery and I select an individual photo, the photo displays with a semi-transparent background. The only way back to the gallery is clicking the X in the upper right hand corner of the screen. I like to be able to do this by clicking anywhere in the background. Does anyone know how to do this? (I have tried various searches on the Forum but really don't know what to search for)
0
Comments
not to have the click to exit. You can also use ESC on the keyboard to exit.
My Website index | My Blog
The side-effect is: when photo in the lightbox is big enough the navigation arrow WILL BE hidden behind the photo. Use at your own risk
tailoredportraits.com
Thanks, this works. I understand the downside of the blocking the arrows. Might be a problem with small screens (laptops, etc).
Another artifact seems to be that the X in the upper right hand corner has a grey field around it and thus is much more prominent and annoying. Do you know how to get rid of the X altogether?
.sm-lightbox-close span:before{content: '';}
OR
.sm-lightbox-close span:before{display:none;}
I, personally, would not do it... but it's your website
tailoredportraits.com
If you mean you wouldn't do it because the light gray square around the "X" is still there, then I agree. I guess I wasn't clear, but I wanted to get rid of the X and the field around it. Do you know of a way to do that? Thanks for your input!
Never mind, I figured it out! Thanks for your help!
tailoredportraits.com