emmebellish Posted March 11, 2022 Share Posted March 11, 2022 Site URL: https://bronze-carillon-jmx2.squarespace.com/portfolio Password: travis Hi! How do I add a grey border around each image in this gallery block? Bonus points if you also know how to make the caption visible only on the lightbox and not the main page! Thanks so much in advance Link to comment
Caroline_Smith Posted March 12, 2022 Share Posted March 12, 2022 Here is a code snippet that adds a border to the images. Add this that page's code header injection. I am not sure what you mean by the second part of your request - it seems like the captions already don't show on the main page: <style> .gallery-grid-item img { border: 2px solid gray; } </style> tuanphan 1 Feel free to email me with any customization inquiries or questions you may have! Free Squarespace Resources: DevTools Minicourse, 11-Step Guide to Improve Custom CSS, Free Product/Pricing Comparison Table Generator Link to comment
emmebellish Posted March 13, 2022 Author Share Posted March 13, 2022 @Caroline_Smith Thank you so much! Yes, I managed to figure that second part out 🙂 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