tillie Posted April 19, 2022 Share Posted April 19, 2022 (edited) Hi Team, I am hoping someone can help me out. I am looking to add some code that will replicate the "image hover over" effect so when mouse rolls over the image of each of the members of the team on the below page it changes to something else... where I am hitting the problem is that I have not used image blocks but a carousel list section (section[data-section-id="62565c2744baef4682e30985"]) Is there a way to do this via custom CSS? https://franklywrite.squarespace.com/franklysays Password: FWwebsite& Thanks in advance for your help! T Edited April 20, 2022 by tillie Link to comment
WendyLW Posted April 20, 2022 Share Posted April 20, 2022 💡 Here is something you could try from 💫 awesome resource ➡️ insidethesquare: 5 List Image Hover Effects in Squarespace // List Section for Squarespace 7.1 Tutorial https://insidethesquare.co/squarespace-tutorials/list-image-hover-effects Link to comment
tillie Posted April 20, 2022 Author Share Posted April 20, 2022 Thanks @WendyLW I am wanting to change the whole image and not just apply a filter to the current image in the list. Perhaps this is a starting point I just wouldn't be 100% sure how to redirect to the new image on the hover. T Link to comment
tuanphan Posted April 23, 2022 Share Posted April 23, 2022 On 4/20/2022 at 8:45 AM, tillie said: Thanks @WendyLW I am wanting to change the whole image and not just apply a filter to the current image in the list. Perhaps this is a starting point I just wouldn't be 100% sure how to redirect to the new image on the hover. T Add to Design > Custom CSS. Repeat similar for other images /* Leaders image hover */ .user-items-list-item-container[data-section-id="62565c2744baef4682e30985"] { .user-items-list-carousel__slide { pointer-events: initial; } li:nth-child(1):hover img { content: url(https://cdn.pixabay.com/photo/2022/04/03/22/05/buildings-7109918__340.jpg); } li:nth-child(2):hover img { content: url(https://cdn.pixabay.com/photo/2022/01/25/12/11/electric-kettle-6966011__340.jpg); } li:nth-child(3):hover img { content: url(https://cdn.pixabay.com/photo/2022/04/05/19/27/penguin-7114280__340.jpg); }} Begona and hlwxshi 2 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