studioearl Posted January 13, 2022 Share Posted January 13, 2022 Site URL: https://caradeckers-interieur.squarespace.com/ On the website: https://caradeckers-interieur.squarespace.com/ password: Cara1234 Page 'Projecten' I want to add a slight zoom when you hover over the images. These are poster images. I used the code below in Custom CSS, however it didn't work. .sqs-block-image .design-layout-poster img:hover {transform: scale(1.1);} Important to know is that there is text on the images and the images link to another page. The only Custom CSS code I'm using at the moment is: footer a {text-decoration: none !important;} So I don't think there is any interference. Does anybody have a solution for this? Thank you in advance! Link to comment
Solution tuanphan Posted January 15, 2022 Solution Share Posted January 15, 2022 Add to Design > Custom CSS /* Projecten poster image hover */ div#page-section-61df0849974d4f33fe31f9df .image-block:hover img { transform: scale(1.3); transition: all 0.3s; } div#page-section-61df0849974d4f33fe31f9df .image-block img { transition: all 0.3s; } studioearl 1 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