MarissaG 0 Share Posted February 9 Site URL: https://marissaginsberg.com Hi there, I'm trying to add a simple slight zoom in to the images that are links on my homepage. I haven't been able to find an answer that doesn't apply to all images on my site. Is there a way to do it? Thank you! Link to post
0 tuanphan 9,524 Share Posted February 9 Add to Design > Custom CSS /* homepage image effect */ body.homepage .image-block img { transition: all 0.2s; } body.homepage .image-block:hover img { transform: scale(1.2); transition: all 0.2s; } body.homepage .image-block { overflow: hidden; } You can send your question to my email to get faster answer. How to: Setup password & share url Insert Custom CSS Open Page Header Upload Custom Font Find Block ID, Data Section ID Contact Squarespace Customer Care -- Yup! Link to post
0 MarissaG 0 Author Share Posted February 9 I added the code and it works great! But I realized it's applying the hover to the logos on the homepage and I don't want it to do that. Is there any way to differentiate it so that the hover is only on the project links? Thanks in advance! Link to post
0 tuanphan 9,524 Share Posted February 14 Try new code /* homepage image effect */ div#page-section-602229b710c48c03e7757b96>.row .image-block img { transition: all 0.2s; } div#page-section-602229b710c48c03e7757b96>.row .image-block:hover img { transform: scale(1.2); transition: all 0.2s; } div#page-section-602229b710c48c03e7757b96>.row .image-block { overflow: hidden; } You can send your question to my email to get faster answer. How to: Setup password & share url Insert Custom CSS Open Page Header Upload Custom Font Find Block ID, Data Section ID Contact Squarespace Customer Care -- Yup! Link to post
Question
MarissaG 0
Site URL: https://marissaginsberg.com
Hi there,
I'm trying to add a simple slight zoom in to the images that are links on my homepage. I haven't been able to find an answer that doesn't apply to all images on my site. Is there a way to do it?
Thank you!
Link to post
Top Posters For This Question
3
2
Popular Days
Feb 9
4
Feb 14
1
Top Posters For This Question
MarissaG 3 posts
tuanphan 2 posts
Popular Days
Feb 9 2021
4 posts
Feb 14 2021
1 post
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment