MisterCampos Posted July 4, 2023 Share Posted July 4, 2023 I'm trying to have an alternate image ease on and zoomed in when hovered, for the video thumbnails in a video gallery while still remaining clickable. Ultimately, I'm trying to get the thumbnails to go from "dim image with logo" to "full color zoom in without logo". https://oarfish-flamingo-26ms.squarespace.com/ PW: MAKESOUND2023 TY in advance! Link to comment
tuanphan Posted July 4, 2023 Share Posted July 4, 2023 Hi, Under Featured Work title? 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
MisterCampos Posted July 4, 2023 Author Share Posted July 4, 2023 Hi! Yes, the thumbnails under Featured Work. Link to comment
MisterCampos Posted July 5, 2023 Author Share Posted July 5, 2023 @tuanphan I should also mention that every thumbnail in the gallery grid opens up a video in a lightbox instead of going to a new page. Link to comment
MisterCampos Posted July 5, 2023 Author Share Posted July 5, 2023 This website https://www.steptstudios.com/work/commercial does a cool version with it using a gif instead of a second image. Link to comment
tuanphan Posted July 6, 2023 Share Posted July 6, 2023 On 7/5/2023 at 12:32 AM, MisterCampos said: Hi! Yes, the thumbnails under Featured Work. Hover image > Change to another image (or gif) + zoom it a bit? MisterCampos 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
MisterCampos Posted July 6, 2023 Author Share Posted July 6, 2023 @tuanphan Yes, that is correct! But also allow the video link to still open in a lightbox. Link to comment
MisterCampos Posted July 8, 2023 Author Share Posted July 8, 2023 Hi @tuanphan Checking in to see if this is possible. Thank you for everything. Link to comment
tuanphan Posted July 11, 2023 Share Posted July 11, 2023 You can add this to Design > Custom (this code for adidas item), if it works, we will send code for other div#block-yui_3_17_2_1_1688340999924_3167 .slide:nth-child(1):hover img { content: url(https://images.squarespace-cdn.com/content/v1/5e57ff34dff2820a6f1b09bc/1642637298043-7E00F5DJEOOW188O56MG/johnniewalker-short.gif?format=500w); } 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
MisterCampos Posted July 11, 2023 Author Share Posted July 11, 2023 Oh my gosh, this totally worked! I'm embarrassed I couldn't figure this out. For the rest of them, do I just change the number of the "nth-child(1)" in relation to the slide? Also, is it possible to add a slightly slower transition, maybe through "ease-in-out"? Link to comment
Solution tuanphan Posted July 15, 2023 Solution Share Posted July 15, 2023 On 7/12/2023 at 6:36 AM, MisterCampos said: Oh my gosh, this totally worked! I'm embarrassed I couldn't figure this out. For the rest of them, do I just change the number of the "nth-child(1)" in relation to the slide? Also, is it possible to add a slightly slower transition, maybe through "ease-in-out"? Yes, just repeat the code & change to 2, 3, 4... Slower, I guess not possible, but you try this code div#block-yui_3_17_2_1_1688340999924_3167 .slide:hover img, div#block-yui_3_17_2_1_1688340999924_3167 img { transition: all ease-in-out 0.3s !important; } 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
MisterCampos Posted July 15, 2023 Author Share Posted July 15, 2023 Thank you for everything, I really appreciate it. tuanphan 1 Link to comment
xtianisabsent Posted August 14, 2023 Share Posted August 14, 2023 On 7/11/2023 at 3:56 PM, tuanphan said: You can add this to Design > Custom (this code for adidas item), if it works, we will send code for other div#block-yui_3_17_2_1_1688340999924_3167 .slide:nth-child(1):hover img { content: url(https://images.squarespace-cdn.com/content/v1/5e57ff34dff2820a6f1b09bc/1642637298043-7E00F5DJEOOW188O56MG/johnniewalker-short.gif?format=500w); } that code will work when I hover my mouse in the video it will play? @tuanphan Link to comment
tuanphan Posted August 15, 2023 Share Posted August 15, 2023 On 8/14/2023 at 12:28 PM, xtianisabsent said: that code will work when I hover my mouse in the video it will play? @tuanphan Hi, This code will replace current image with new image on hover, not make video autoplay If you need video autoplay, please share link to page where you use video, we can check easier 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