cherylr Posted June 2 Share Posted June 2 Hi I am trying to get my images to open in a lightbox and show a caption ONLY in the lightbox, not on the page itself. I don't want this on every single page (or more specifically, I want it on every page but one) I don't want the captions to show up as an overlay, the need to be under the image. The way my client would like this site to be set up, I think I need to add each image separately rather than in a gallery. Help? Or maybe there's an alternate way to handle this? Chatgpt gave me this code. It does't work. //*Captions in lightbox only*// /* Hide the image caption by default on the specific page */ body#collection-647a289a33be0f429a2b0700 .sqs-lightbox-meta { display: none; } /* Show the image caption when the image is opened in a lightbox on the specific page */ body#collection-647a289a33be0f429a2b0700 .sqs-lightbox-slide .sqs-lightbox-meta { display: block; } Beyondspace 1 Link to comment
tuanphan Posted June 3 Share Posted June 3 Hi, Can you share link to page? We can check easier 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
cherylr Posted June 3 Author Share Posted June 3 Thanks for your reply! And oops sorry - here's the link: https://www.wolheimstyle.com/gallery-3-1 Beyondspace 1 Link to comment
tuanphan Posted June 8 Share Posted June 8 Add to Design > Custom CSS body#collection-647a289a33be0f429a2b0700 { .yui3-lightbox2 .sqs-lightbox-meta { opacity: 1 !important; background-color: transparent !important; } div.sqs-lightbox-padder img { top: -50px !important; }} 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 15 Share Posted November 15 On 6/4/2023 at 6:04 AM, cherylr said: Thanks for your reply! And oops sorry - here's the link: https://www.wolheimstyle.com/gallery-3-1 @cherylr just a reminder, you can enable this feature on your Lightbox Studio instance, check the video Kapture 2023-11-15 at 23.37.51.mp4 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