Poppyseeds Posted January 11, 2022 Share Posted January 11, 2022 (edited) Site URL: https://ferret-bird-3rl2.squarespace.com/config/settings/site-visibility Attempting an offset border, but image is being cut off. I inserted the following: #block-8b839941f5d796fbef77 .design-layout-inline .image-block-wrapper { border: 0.05em solid #968F87; overflow:visible!important; } #block-8b839941f5d796fbef77 .design-layout-inline img { margin-left: 25px; margin-top: 25px; } Cannot figure this out... SITE: https://ferret-bird-3rl2.squarespace.com PW: blahblahblah Edited January 11, 2022 by Poppyseeds add password Link to comment
tuanphan Posted January 12, 2022 Share Posted January 12, 2022 Add to Design > Custom CSS #block-8b839941f5d796fbef77 .design-layout-inline img { margin-left: 0 !important; top: 0 !important; height: auto !important; width: 100% !important; margin-top: 0 !important; border: 3px solid black; } 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
Poppyseeds Posted January 12, 2022 Author Share Posted January 12, 2022 7 hours ago, tuanphan said: Add to Design > Custom CSS #block-8b839941f5d796fbef77 .design-layout-inline img { margin-left: 0 !important; top: 0 !important; height: auto !important; width: 100% !important; margin-top: 0 !important; border: 3px solid black; } You are the king!!! I modified this a bit: #block-8b839941f5d796fbef77 .design-layout-inline img { margin-right: 0 !important; top: 0 !important; height: auto !important; width: 100% !important; margin-bottom: 0 !important; border: 1.5px solid #968F87; padding: 4.5% !important; } I'm ultimately trying for a box type of effect like in the original photo, but am only getting two sides. Spent well over an hour trying to get it right... But, alas. And I have to have this site done by Friday. I'm so lost! Thank you, Tuan. Link to comment
tuanphan Posted January 14, 2022 Share Posted January 14, 2022 On 1/13/2022 at 3:31 AM, Poppyseeds said: You are the king!!! I modified this a bit: #block-8b839941f5d796fbef77 .design-layout-inline img { margin-right: 0 !important; top: 0 !important; height: auto !important; width: 100% !important; margin-bottom: 0 !important; border: 1.5px solid #968F87; padding: 4.5% !important; } I'm ultimately trying for a box type of effect like in the original photo, but am only getting two sides. Spent well over an hour trying to get it right... But, alas. And I have to have this site done by Friday. I'm so lost! Thank you, Tuan. You mean You mean, you want border same as first image? 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
Ziggy Posted August 25, 2023 Share Posted August 25, 2023 @Poppyseeds This is quite easy with a pseudo-element, add this and adjust the values: #block-8b839941f5d796fbef77:before { content:''; position:absolute; height:100%; width:100%; background-color:none; border:2px solid #968F87; top:-18px; right:20px; } Let me know how that works for you. tuanphan 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? 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