h3p4 Posted August 30, 2023 Posted August 30, 2023 Hello, I am trying to get my gallery images to open in Lightbox when clicked. I am using the Supply template because I like the layout. I have injected the following code into the header: <link href="path/to/lightbox.css" rel="stylesheet" /> and the following code into the footer: <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha384-/T00a+Nl02aba/xlKg6U7YYn7bGRaW9olG/hL3M/N9eOrPp1qvcYz2g+sKokVhj" crossorigin="anonymous"></script> <script src="path/to/dist/js/lightbox-plus-jquery.js"></script> Could anyone help me please? The website is http://hemal.io/ and the password is "bluegreen". Thank you!
tuanphan Posted September 3, 2023 Posted September 3, 2023 Have you added 2 files to Squarespace yet? If you haven't upload these files, follow this guide to upload it https://support.squarespace.com/hc/en-us/articles/205813928-Uploading-and-managing-files The uploaded file will also have a different URL structure than the URL you use. suppose your file is lightbox.css and lightbox-plus-jquery.js after upload, it will have href/src is href="/s/lightbox.css" and src="/s/lightbox-plus-jquery.js" 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