TommyW Posted September 23, 2022 Share Posted September 23, 2022 Site URL: http://www.tommywallach.com Hey All, I'm looking to simply add a thin black border to every image in every gallery site-wide. I would've assumed this would be a selectable option, but it doesn't seem to be, so I assume I'm gonna have to do it with custom CSS. Anybody got some delicious code for me? 🙂  -t Link to comment
joseph81 Posted September 23, 2022 Share Posted September 23, 2022 I guess it could be easy as this: .gallery img { border: 1px solid; } Â Jozsef Kerekes - Front-end developer and Squarespace enthusiast My Blog: https://ui-workarounds.comIf you like my answer, please give me an upvote/like. Highly appreciated. Â Â Link to comment
tuanphan Posted September 24, 2022 Share Posted September 24, 2022 Gallery Block or Gallery Images? Try adding this to Design > Custom CSS .gallery-block img { border: 3px solid red; } If it doesn't work, can you share link to page where you use gallery? 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!) 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