Elisabethh Posted September 19, 2023 Share Posted September 19, 2023 Dear all, I am looking for custom css code on which I could modify the Lightbox effect in Squarespace: - in the 'Light version': being able to adjust the color (#d3d3d2) and transparency of the background (slightly seeing through the original site) - Being able to modify the size of the lightbox, and center it on the page - placing the 'close' cross on the right top of the image, instead of the right top page - being able to zoom in the image (as in some web shops) (website: www.pale-studio.com) Many thanks for your precious help! Elisabeth Link to comment
tuanphan Posted September 21, 2023 Share Posted September 21, 2023 Hi, Which page in your screenshot? I don't see this on homepage Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Elisabethh Posted September 21, 2023 Author Share Posted September 21, 2023 Dear Tuanphan, the page was inactive as I was building it. Here is it, uploaded and finalised: https://pale-studio.com/2301-wald-fabrics Many thanks! Link to comment
tuanphan Posted September 23, 2023 Share Posted September 23, 2023 On 9/21/2023 at 5:10 PM, Elisabethh said: Dear Tuanphan, the page was inactive as I was building it. Here is it, uploaded and finalised: https://pale-studio.com/2301-wald-fabrics Many thanks! Thank you. Can you enable Lightbox? Currently I can't click images to open lightbox Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Elisabethh Posted September 23, 2023 Author Share Posted September 23, 2023 Just actived Lightbox on first the images as shown in attached screenshot. URL: https://pale-studio.com/2301-wald-fabrics Would like to modify the following: - No title / text (at all) on Lightbox images - in the 'Light version': being able to adjust the color (#d3d3d2) and transparency of the background (slightly seeing through the original site) - Being able to modify the size of the lightbox - placing the 'close' cross on the right top of the image, instead of the right top page - being able to zoom in the image (as in some web shops) Many thanks! Link to comment
Solution tuanphan Posted September 25, 2023 Solution Share Posted September 25, 2023 #1. To hide caption in lightbox, you can add this code to Page Settings > Advanced > Code Injection Header <style> .yui3-lightbox2 .sqs-lightbox-meta { display: none !important; } </style> #2. To adjust transparency I see you used this code? .sqs-lightbox-overlay.light { background: rgba(246,246,246,.98) !important; color: #3e3e3e; } #3. - placing the 'close' cross on the right top of the image, instead of the right top page Right top - What do you mean? Or you mean right bottom? #4. Zoom Image This will require a custom plugin Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment