vanessadesign Posted July 29, 2021 Posted July 29, 2021 Site URL: https://www.vanessastpier.com/motion Hey there 🙂 I'm hoping to achieve an effect where the black overlay I currently have over my portfolio images, is slightly smaller than the size of the image itself (like 70% of the OG size.) The image attached below is an example of someone who has achieved the look I'm after! Any ideas for code I can use? Thanks!
tuanphan Posted July 30, 2021 Posted July 30, 2021 On 7/29/2021 at 2:18 PM, vanessadesign said: Site URL: https://www.vanessastpier.com/motion Hey there 🙂 I'm hoping to achieve an effect where the black overlay I currently have over my portfolio images, is slightly smaller than the size of the image itself (like 70% of the OG size.) The image attached below is an example of someone who has achieved the look I'm after! Any ideas for code I can use? Thanks! Add to Design > Custom CSS /* Portfolio overlay smaller */ .portfolio-overlay { left: 10% !important; right: 10% !important; top: 10% !important; bottom: 10% !important; width: 80% !important; height: 80% !important; }  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
Archived
This topic is now archived and is closed to further replies.