thewolvesdenvisualco Posted November 21 Posted November 21 Hello, I posted this months ago and never got any info, so I'll try again. I am currently using 7.1 on my site and what I am looking to do is have an image roll over to a gif on hover-over. currently, I have each gif just constantly looping, and I feel like it looks a little hectic that way. The gifs are placed within a gallery block with a full bleed Grid strip if that matters at all. As an example, I am looking to achieve a similar result to this site. https://www.simoneaves.com/home-reshaped-gifs Thank you for any help. My site is www.kevinplumley.com It is live, and you will see on the main page a rough Idea of what I am looking to do. it is 2 blocks with 4 images each, and I am looking to do it with all images. Beyondspace 1
Beyondspace Posted November 21 Posted November 21 6 hours ago, thewolvesdenvisualco said: Hello, I posted this months ago and never got any info, so I'll try again. I am currently using 7.1 on my site and what I am looking to do is have an image roll over to a gif on hover-over. currently, I have each gif just constantly looping, and I feel like it looks a little hectic that way. The gifs are placed within a gallery block with a full bleed Grid strip if that matters at all. As an example, I am looking to achieve a similar result to this site. https://www.simoneaves.com/home-reshaped-gifs Thank you for any help. My site is www.kevinplumley.com It is live, and you will see on the main page a rough Idea of what I am looking to do. it is 2 blocks with 4 images each, and I am looking to do it with all images. The targeted site gifs are hard coded to the image, so to apply the same to your site, kindly provide us with a gifs that bind to the single image as sample, I can provide a script to achieve that thewolvesdenvisualco 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
thewolvesdenvisualco Posted November 22 Author Posted November 22 15 hours ago, Beyondspace said: The targeted site gifs are hard coded to the image, so to apply the same to your site, kindly provide us with a gifs that bind to the single image as sample, I can provide a script to achieve that If I understand correctly, here is an image sample as a static image and the gif equivalent! If I am mistaken, please correct me! Thank you for the response!
Solution tuanphan Posted November 25 Solution Posted November 25 On 11/22/2024 at 9:35 AM, thewolvesdenvisualco said: If I understand correctly, here is an image sample as a static image and the gif equivalent! If I am mistaken, please correct me! Thank you for the response! Try this code to Website Tools > Custom CSS for Landscapes item figure.gallery-strips-item { a[href="/landscape-nature"] img { content: url(https://media.invisioncic.com/p289038/monthly_2024_11/landscapes.thumb.jpg.ce2562d4089a9a3aa90f929ba3ee66f0.jpg); } a[href="/landscape-nature"]:hover { content: url(https://images.squarespace-cdn.com/content/v1/533494a4e4b0d765125378e0/e6f1baef-12bb-4fff-9ea2-882908f99714/landscapes_1.gif?format=750w); } } Beyondspace and thewolvesdenvisualco 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!)
thewolvesdenvisualco Posted November 26 Author Posted November 26 22 hours ago, tuanphan said: Try this code to Website Tools > Custom CSS for Landscapes item figure.gallery-strips-item { a[href="/landscape-nature"] img { content: url(https://media.invisioncic.com/p289038/monthly_2024_11/landscapes.thumb.jpg.ce2562d4089a9a3aa90f929ba3ee66f0.jpg); } a[href="/landscape-nature"]:hover { content: url(https://images.squarespace-cdn.com/content/v1/533494a4e4b0d765125378e0/e6f1baef-12bb-4fff-9ea2-882908f99714/landscapes_1.gif?format=750w); } } Amazing! To replicate this, just upload the images and replace each link with the proper image set/ adjust the page name accordingly I take it? Beyondspace and tuanphan 2
tuanphan Posted Thursday at 08:21 AM Posted Thursday at 08:21 AM On 11/26/2024 at 4:47 PM, thewolvesdenvisualco said: Amazing! To replicate this, just upload the images and replace each link with the proper image set/ adjust the page name accordingly I take it? Yes. If you don't know how to find image url, you can follow this 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
Create an account or sign in to comment
You need to be a member in order to leave a comment