kimmydesign Posted August 7 Share Posted August 7 Hi there, I'm trying to get all the images in a section to have a box shadow without having to do individual block IDs (the images will change frequently so I'm not sure if the block ID will change with the new image?) This is the code I have that will add box shadow to the whole image block section[data-section-id="66b3c81ba6970b6f0c5b0778"] .image-block { box-shadow: 0px 0px 5px #e2e2e2; } When I add -wrapper to it the shadow disappears: section[data-section-id="66b3c81ba6970b6f0c5b0778"] .image-block-wrapper { box-shadow: 0px 0px 5px #e2e2e2; } Link to comment
Ziggy Posted August 8 Share Posted August 8 11 hours ago, kimmydesign said: the images will change frequently so I'm not sure if the block ID will change with the new image? If you delete the image block and add a new one, that will have a different ID, if you replace the image inside the block settings the block ID remains unchanged. 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? Link to comment
kimmydesign Posted August 8 Author Share Posted August 8 got it, so that should work. Thank you! Ziggy 1 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