Guest Posted May 13, 2020 Share Posted May 13, 2020 Site URL: https://alligator-buffalo-slhk.squarespace.com/projects-1 Hi, Does anyone know if i can create a hover effect on a background image using CSS ? (as opposed to an image block). I want to create a white overlay on all backgrounds on this page, https://alligator-buffalo-slhk.squarespace.com/projects-1 ... and only reveal full colour of image on hover. (We are using full bleed backgrounds, rather than image blocks, to achieve a transparency on the header) -Andrew Link to comment
tuanphan Posted May 13, 2020 Share Posted May 13, 2020 Your site is private. can you setup password & share url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Guest Posted May 13, 2020 Share Posted May 13, 2020 ok, that's done @tuanphan password is : assist Link to comment
tuanphan Posted May 14, 2020 Share Posted May 14, 2020 16 hours ago, andrewmel said: ok, that's done @tuanphan password is : assist Add to Page Settings > Advanced > Header <style> #page section .section-background:after { background: rgba(255,255,255,0.75); content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 999; } #page section:hover .section-background:after { opacity: 0; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.