ZAMPM Posted November 9 Share Posted November 9 (edited) Hello everyone, I built this website for my business and we have a few pages as portfolio items. I have lightbox activated when you click on any of the gallery images below the main header one. It looks great on a computer but on a mobile device one isn't able to pinch and zoom in on the images in the gallery on the smartphone. What would the code look like to make it possible to zoom in on gallery images with Lightbox?. I've tried using Chatgpt to write code but what it gave me to put into the custom CSS didn't work. I would really appreciate some help. https://www.zampolin.com/mixed-use/new-portfolio-item-b3ezg-d2r5y-w9w5e Edited November 9 by ZAMPM added link Beyondspace 1 Link to comment
tuanphan Posted November 12 Share Posted November 12 You can use Lightbox Plugin (affiliate link) or this link (non-affiliate link) to do this. It has an option to enable pinch zoom on mobile You can see a quick demo here: https://tuanphan.squarespace.com/gallery-grid-section-pinch-zoom?noredirect pass: abc Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Beyondspace Posted November 14 Share Posted November 14 On 11/10/2023 at 12:29 AM, ZAMPM said: Hello everyone, I built this website for my business and we have a few pages as portfolio items. I have lightbox activated when you click on any of the gallery images below the main header one. It looks great on a computer but on a mobile device one isn't able to pinch and zoom in on the images in the gallery on the smartphone. What would the code look like to make it possible to zoom in on gallery images with Lightbox?. I've tried using Chatgpt to write code but what it gave me to put into the custom CSS didn't work. I would really appreciate some help. https://www.zampolin.com/mixed-use/new-portfolio-item-b3ezg-d2r5y-w9w5e I had plugin to support this out of the box, open this link on mobile to see it in action... BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment