Ollie26 Posted July 11, 2023 Posted July 11, 2023 Hi there, I am hoping to create a Lightbox in an our team page. I would like the Lightbox to open up with the picture as well as their name, job title and bio text. I've used the people section as a template and one of the options is to add a 'read bio' button. I'm just unclear where the bio goes and how it could be transformed into a Lightbox overlay. This website has the effect I'm trying to achieve:https://browningenvironmental.com/people-3/ Any thoughts would be much appreciated! I'm not very savvy with code.
Solution Ziggy Posted July 11, 2023 Solution Posted July 11, 2023 Honestly for functionality like that you would need a plugin like this: https://www.sqspthemes.com/plugins/ultimate-squarespace-lightbox-plugin For this to work, you need to create a page that contains the bio and use the plugin to create the lightbox link. tuanphan, Omari and Ollie26 2 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
kspace Posted February 22 Posted February 22 Ollie26, please let me know if you found a good solution on how to do this without a plugin. I found this answer, but not for the people gallary:
tuanphan Posted February 23 Posted February 23 15 hours ago, kspace said: Ollie26, please let me know if you found a good solution on how to do this without a plugin. I found this answer, but not for the people gallary: We can achieve that with Custom JS/CSS code. But if create multiple lightboxes, it will more complex. I don't have the code available here, but I have worked on a few cases for some members on forum (I don't remember the code, need to check it from scratch). Assuming you only have one image, clicking on the image will bring up the lightbox We can create a section in Footer (will use CSS to hide it, so users can't see it) Then use some CSS to make this section fixed on middle of screen Then use CSS to hide it Then use some JS code, to make it appears when users click Image/or Text Use JS code to make it close when clicking Close/X icon If you need to create multiple lightboxes, you will need to create multiple sections in the Footer. But if the Lightbox simply contains 1 Text Block, then we can just use 1 Section, and insert all the Text Blocks in this Section. You can describe your case + site url, I can help easier 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment