MCdP Posted July 10, 2023 Posted July 10, 2023 (edited) Hi everyone, I need help to costumize the buttons in the carousel-portfolio-section so that they can open a lightbox. I would like to use the carousel section to show short films posters, and to use the buttons under each picture to open a lightbox with the corresponding trailer (hosted on YouTube). I found a great tutorial with a free code (link below) that shows how to create a button to open a video-lightbox. I tried to put this code (with the 3 options of the tutorial) in the button costum area, and it seemed to work until I saved changes ; after that, it doesn't work anymore and the code appears in the button… then when I click on it, it brings me to the Error Page. Here are some screenshots of the problem… Does anyone know how to fix it ? how to costumize a button content in a designed section ? Thank you for your help ! Link toward the tutorial page : https://www.kenwestphal.io/spacetutorials/squarespace-lightbox-video/ Link toward the related tutorial video : https://www.youtube.com/watch?v=dcGqrujn_B8 Edited July 10, 2023 by MCdP I forgot a word
Solution Ziggy Posted July 10, 2023 Solution Posted July 10, 2023 That tutorial requires that you use a code block for the button, it's not going to work just pasting the code into the button text field. This plugin allows you to easily lightbox a video from any link or button:https://www.sqspthemes.com/plugins/squarespace-video-lightbox-button MCdP and tuanphan 1 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment