Change Image on Hover in Squarespace

  Рет қаралды 11,170

Rebecca Grace Designs - Squarespace Coding Expert

Rebecca Grace Designs - Squarespace Coding Expert

Күн бұрын

Пікірлер: 61
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
Get my FREE guide outlining the 41 most popular CSS properties and their value options. 👉 www.rebeccagracedesigns.com/popular-css-properties
@kelpx7
@kelpx7 2 ай бұрын
This video should have thousands of likes and views!!! Brilliant! Thank you!
@RichardEyers
@RichardEyers 4 ай бұрын
Absolutely brilliant! If only every KZbin tutorial was as easy to follow.
@Harrissarena
@Harrissarena 7 ай бұрын
Sheesh Rebecca just made me a coder! I’m so happy
@askcoachlara
@askcoachlara Жыл бұрын
OMG I am NOT code savvy at all and this worked! You're amazing THANK YOU!!!!!
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
You're welcome!
@AlastairColeUplift
@AlastairColeUplift 8 ай бұрын
Love this Rebecca! Thanks for making this video - super helpful. In particular great copy-and-paste with the CSS via yr website
@RebeccaGraceDesigns
@RebeccaGraceDesigns 7 ай бұрын
You're so welcome!
@PressureGrafix
@PressureGrafix 5 ай бұрын
Amazing tutorial but squarespace doesn't have that option for me to duplicate an image block. Does this only work on certain templates?
@OrganicAlchemist
@OrganicAlchemist 9 ай бұрын
Thank you so much for this very easy and thorough tutorial! Very helpful!☺
@RebeccaGraceDesigns
@RebeccaGraceDesigns 7 ай бұрын
You're welcome!
@chadpoorman
@chadpoorman 4 ай бұрын
@RebeccaGraceDesigns thanks so much for this tut. it works perfectly on desktop and mobile for me. have you figured out a way, or do you have a tutorial for doing this same exercise on project tiles inside of a portfolio collection? thanks again!
@NadiaEngenheiro
@NadiaEngenheiro 4 ай бұрын
I don't have the design option on my side tab, do you know how to do this if that isn't an option?
@RedPoppyArtHouse
@RedPoppyArtHouse 6 ай бұрын
This is great, Rebecca, thanks! Do you happen to know or for-hire to learn how to replace image on a Gallery Grid? Thx!
@datokraveishvili7612
@datokraveishvili7612 10 ай бұрын
hey! thanks for the tutorial, i have an ongoing ecommerce website project where client wants this effect on every product, what should i do then? is there any way to apply this eefect on every product photo?
@RebeccaGraceDesigns
@RebeccaGraceDesigns 7 ай бұрын
Not automatically. You would have to manually code each one.
@BeaterBlade
@BeaterBlade 7 ай бұрын
Rebecca, this is great, however, on the Mobile experience, the hover is just white until you touch the space...then the picture reveals. Customers might not understand to touch the blank space. Is there a workaround so the image alway reveals on Mobile? Thanks
@Heisvic
@Heisvic 5 ай бұрын
Squarespace sucks when it comes to two completely different designs on different devices (Desktop) - (Mobile). To get around this, I would download (SQUARE-KICKER) and embed it onto the website Via/CSS. What you can do with this extension(Square-Kicker), Have two different page sections on your website, but the difference is that you can choose a certain section to show specifically only for (Laptop) or (Desktop) which ever u choose. You can find that setting under "Visibility" after installing the extension, and get around a lot of problems you might've had before installing that extension. Hopefully this helps and shit.
@cadiastouch6525
@cadiastouch6525 Жыл бұрын
This really helps, can I ask if the transition could be change from fade in and fade out to others
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
This code specifically uses Opacity which gives the fade in and out animation. You would have to add other transitions to create other animations.
@AmySeagraves
@AmySeagraves 11 ай бұрын
Thank you sooo much, this is fab! Is there a way I can use it on 3 images on the same page? Thank you in advance! Amy
@RebeccaGraceDesigns
@RebeccaGraceDesigns 7 ай бұрын
Yes, you can add a comma in between each block id.
@kennyhunte4833
@kennyhunte4833 5 ай бұрын
Hi Rebecca!! Great tutorial!! I have found that when I follow you directions of adding a comma after each block ID, it disables the hover effect for the previous image. Am I doing something wrong?
@lozza.lou.tattoo
@lozza.lou.tattoo Ай бұрын
@@kennyhunte4833that’s exactly what’s happening to me too. I’m trying to play around with the timing but that doesn’t work either! Would love some more info on how to do this with multiple images
@karenvinalay9116
@karenvinalay9116 Жыл бұрын
Hello Rebecca! Lovely update. May I know how to add a link to the photo? I want to link it to another page on the website. The setting doesn't work :(
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
This code should not effect your click through link. Make sure your link is on the top image that shows on hover.
@tovermoran4360
@tovermoran4360 Жыл бұрын
Thank you!
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
You're welcome!
@lindsayobrien8110
@lindsayobrien8110 8 ай бұрын
Thank you for this excellent video! However, I can only get the code to work as intended when I have my website in EDIT mode. I used your directions exactly as you described. If you have any idea on why I can't do this on the live version, I would love to have your insight.
@RebeccaGraceDesigns
@RebeccaGraceDesigns 7 ай бұрын
Usually when this happens there is an error in your code somewhere. Try removing all of your code and then add it back in, in small bits to see what part of the code is causing the issue.
@staceybriggs6797
@staceybriggs6797 Жыл бұрын
Can I still do this with an "Impact" template? I don't seem to have the "fit", "fill" or "duplicate" options for my images...? Thank you!
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
Are you working in Squarespace 7.1? If so, then all the templates have the same options. They just start with different designs. If you are in Squarespace 7.0, then you won't be able to overlap your images like I do in this video.
@eladarale
@eladarale Күн бұрын
Hello, nice video! but were is the CSS code please?
@eladarale
@eladarale Күн бұрын
Found it, works like charm! Thank you
@colytv4116
@colytv4116 Жыл бұрын
THANK YOU!!!
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
You're welcome!
@TRIUMVIRATEMEDIA
@TRIUMVIRATEMEDIA Жыл бұрын
Hello Rebecca, I need some help. how do you do this multiple times on a page I have tried redoing the code under the first and I've tried adding multiple block ids on one code; neither worked. thank you so much.
@askcoachlara
@askcoachlara Жыл бұрын
I have the same question.
@JonH-
@JonH- Жыл бұрын
hey - @@askcoachlara I was having this issue, but it's working by including the "/* Description text */ header before the code for each instance. Hope that helps!
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
You can just duplicate the code for each time you want to repeat it. Or you can use a comma between each block id. For example, /* Change Image on Hover */ #BLOCKID, #BLOCKID2 { opacity: 0; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out; } #BLOCKID:hover, #BLOCKID2:hover { opacity: 1; }
@TRIUMVIRATEMEDIA
@TRIUMVIRATEMEDIA Жыл бұрын
@@RebeccaGraceDesigns thank you so much
@thesustainabilityenthusiast
@thesustainabilityenthusiast Жыл бұрын
Hi! Desktop worked but then on mobile for me it shows both images. However I can't "hide" the image, just see an option to delete the hover image on mobile - but once I delete the hover image on mobile, it no longer shows on desktop. Do you know what the issue / fix might be here?
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
If you overlap the images, you should only see one on mobile. You can always use code to hide one of the images on mobile. For example, @media only screen and (max-width: 640px) { #BLOCKID { display:none; } }
@cmdluke
@cmdluke Жыл бұрын
@@RebeccaGraceDesigns thanks for this. works on desktop. I can hide the rollover on mobile, but it breaks the link. Any fix? much appreciated.
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
Make sure the link is placed in the image that is on top.
@gustavosmusic
@gustavosmusic Жыл бұрын
Hi Rebecca, thank you for the video, it works great. My "reveal" image is a GIF that doesn't loop, so my idea is that every time you hover over it, the animated GIF plays out and ends frozen on the last frame. I got the Gif wrking, but it doesn't restart every time I hover over. I have to refresh the whole page. Not a major deal breaker, but do you have any idea if this can be implemented somehow? Refreshing the Gif every time we hover off the image so the animation replays once we go over again. Thanks a lot!
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
The GIF will play based on when it loads. As far as I know, there isn't a way to start the gif on hover with this method. You would have to code the static image and gif in a code block instead of using two image blocks.
@MaryMihelic
@MaryMihelic 8 ай бұрын
This works in desktop mode but th ecode doesn't work in the moblie mode? How do you fix that?
@RebeccaGraceDesigns
@RebeccaGraceDesigns 7 ай бұрын
Phones don't have a hover option. You have to click and hold. You can either have just the one image or have the code turn off on mobile and then move the images so that you can see both.
@proph7099
@proph7099 Жыл бұрын
Would this apply to text as well? If i wanted to have a text block shift the image show for the background, could i do that with this CSS?
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
Because we are using a block id, you should be able to apply this to text and other blocks.
@thinklindi
@thinklindi 9 ай бұрын
Amazing fix for desktop! But sadly doesn't work on mobile. I hid the overlay image using CSS and it still creates a big gap of empty space below the first image.
@RebeccaGraceDesigns
@RebeccaGraceDesigns 7 ай бұрын
Its possible the space underneath is the image that is being hidden for the hover. Mobile's don't have hover. So my suggestion is to either just display the one image (drag the hidden image overtop on mobile so you don't have the space) or turn the code off on mobile and have both images show.
@greatdominions
@greatdominions Жыл бұрын
Looks like it's not working on mobile (I know you can't hover on mobile, but you mentioned if you click it, it will change. It's not for me.)
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
Is it working on desktop? Did you click and hold? As an alternative, you could also hide the top image on mobile so that the bottom image displays right away without any clicking.
@caelanstokkermans533
@caelanstokkermans533 Жыл бұрын
@@RebeccaGraceDesigns Could you go a bit more in depth as to how that would work? Trying to figure out how to make it so the mobile site will transition with touch.
@WaldronDesigns
@WaldronDesigns Жыл бұрын
You don't have a tutorial on how to do this for us 7.0 users, do you? Looks like this is for 7.1
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
This will only work on 7.1 because it uses Fluid Engine to overlap the images. For 7.0, you would probably have to custom code the image blocks as well.
@claireperkins6038
@claireperkins6038 Жыл бұрын
Thank you!
@RebeccaGraceDesigns
@RebeccaGraceDesigns Жыл бұрын
You're welcome!
@colekeller
@colekeller 3 ай бұрын
Thank you!
Reveal Text on Hover in Squarespace // Squarespace Tutorial - Fluid Engine Hover Effects
8:43
InsideTheSquare with Becca Harpain
Рет қаралды 52 М.
Add a Slideshow Header to your Squarespace 7.1 site ⚡️ with copy + paste code
10:48
Big Cat Creative - Squarespace Tips & Templates
Рет қаралды 11 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Build a $10k/Month A.I Agency WITH ME in 20 Minutes (no code)
22:11
How To Show A Different Background Image on Mobile in Squarespace 7.1 // Squarespace CSS Tutorial
8:14
How to Add Custom Fonts in Squarespace 7.1
9:13
Sharon Marta Creative
Рет қаралды 7 М.
Get Amazon Products on Your Squarespace Website in 5 Minutes!
9:23
Bryan Jernigan | Squarespace Expert
Рет қаралды 104
The Ultimate Guide to Carousels in Squarespace
14:35
Rebecca Grace Designs - Squarespace Coding Expert
Рет қаралды 32 М.
Everything You need to Know to Set up a Newsletter in Squarespace
16:43
Rebecca Grace Designs - Squarespace Coding Expert
Рет қаралды 11 М.
I Remade Star Wars VFX in 1 Week
10:39
ErikDoesVFX
Рет қаралды 2,9 МЛН
How To Target One Thing in Squarespace with Code // CSS Targeting Tips for Squarespace
7:06
InsideTheSquare with Becca Harpain
Рет қаралды 12 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН