Celisian Posted July 23, 2021 Share Posted July 23, 2021 Hi, I have a series of images I want to display as big as possible when they go into lightbox mode. The problem is that lightbox has this black padding/margin that prevents the images from being brought right up to the edge of the browser window. Is there a custom code I can use to reduce that margin to get it as close to the edge of the browser as possible? I include a screenshot of one of my images in lightbox and the pink outline is how big I would like the image to be, magnified so that it comes very close to the edge of the browser. if this isn't possible then is it possible to somehow get the image to magnify all the way to 1:1 to act like a loupe so you can see all fine details of the image? Thanks for any help on this guys Link to comment
Beyondspace Posted July 23, 2021 Share Posted July 23, 2021 1 hour ago, Celisian said: Hi, I have a series of images I want to display as big as possible when they go into lightbox mode. The problem is that lightbox has this black padding/margin that prevents the images from being brought right up to the edge of the browser window. Is there a custom code I can use to reduce that margin to get it as close to the edge of the browser as possible? I include a screenshot of one of my images in lightbox and the pink outline is how big I would like the image to be, magnified so that it comes very close to the edge of the browser. if this isn't possible then is it possible to somehow get the image to magnify all the way to 1:1 to act like a loupe so you can see all fine details of the image? Thanks for any help on this guys What is your current site url BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Celisian Posted July 25, 2021 Author Share Posted July 25, 2021 On 7/23/2021 at 2:33 AM, bangank36 said: What is your current site url www.celisian.com Link to comment
tuanphan Posted July 25, 2021 Share Posted July 25, 2021 7 hours ago, Celisian said: www.celisian.com What is access password? 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
Beyondspace Posted July 25, 2021 Share Posted July 25, 2021 8 hours ago, Celisian said: www.celisian.com Create site wide password so we can check Site-wide passwords – Squarespace Help BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Celisian Posted July 25, 2021 Author Share Posted July 25, 2021 11 hours ago, bangank36 said: Create site wide password so we can check Site-wide passwords – Squarespace Help 12 hours ago, tuanphan said: What is access password? Sorry guys, I forgot I had a site wide password applied. I have removed the password lock. The website is not done, currently it's just this page, but it shows the images I want to make bigger when they go in to lightbox mode. Thanks for taking a look. https://www.celisian.com/ Link to comment
Beyondspace Posted July 26, 2021 Share Posted July 26, 2021 5 hours ago, Celisian said: Sorry guys, I forgot I had a site wide password applied. I have removed the password lock. The website is not done, currently it's just this page, but it shows the images I want to make bigger when they go in to lightbox mode. Thanks for taking a look. https://www.celisian.com/ try .gallery-lightbox { padding: 0; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Celisian Posted July 26, 2021 Author Share Posted July 26, 2021 Hi @bangank36 I tried that Custom CSS and it worked perfectly! It did just what I wanted it to do. Thanks so much for sharing that with me. Your quick code was the solution to a problem I was trying to fix on my own for days. hehe. Much appreciated! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.