tierneyc Posted February 21, 2023 Share Posted February 21, 2023 Hi there! Right now I have a portfolio with preloaded GIFs that are autoplaying that I would like to instead play on hover. Additional functionality I am looking for includes making the portfolio searchable (I realize these are two different requests, I just don't want conflicting code). I am new to coding and would appreciate any and all help! Thank you so much! Link to comment
tuanphan Posted February 25, 2023 Share Posted February 25, 2023 #2. Possible Something like this? https://thung.squarespace.com/portfolio-filter?noredirect pass: abc #1. Can you share link to your site? 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
tierneyc Posted February 27, 2023 Author Share Posted February 27, 2023 (edited) @tuanphan Hi there! Thank you so much for responding! Yes, like that example, except with a text overlay that also plays a GIF when hovering over the image (instead of autoplay) and has the ability to be tagged and filtered. I am looking for the design of the "Our Work V2 Experiment" page with the functionality of the "Our Work" page/ a portfolio template on the website. I am hoping to create the V2 Experiment without as much CSS so it is easier to change content down the line and also add a filter plugin. Again, thank you so much! The Website: https://caribou-smilodon-6l25.squarespace.com/ password: abc Similar functionality to this website: https://www.steptstudios.com/ Edited February 27, 2023 by tierneyc Link to comment
tierneyc Posted March 3, 2023 Author Share Posted March 3, 2023 @tuanphan Hi again! Just checking in to see if perhaps you have found a solution? Thank you so much! You have the best code on here! Link to comment
tuanphan Posted March 5, 2023 Share Posted March 5, 2023 Here I used Filter Plugin (referral link) Text Overlay: Possible with CSS Gif: Yes. Possible. Use CSS to change each image to gif on hover has the ability to be tagged and filtered >> Can you describe this? EarvinChong 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
tierneyc Posted March 6, 2023 Author Share Posted March 6, 2023 @tuanphan What is the CSS that allows for the gif to play on hover? Can the media stay in the portfolio gallery? Link to comment
tuanphan Posted March 8, 2023 Share Posted March 8, 2023 On 3/7/2023 at 1:13 AM, tierneyc said: @tuanphan What is the CSS that allows for the gif to play on hover? Can the media stay in the portfolio gallery? Can you send a gif file? I will give you example code. Also where is Work page, Now I can't find it in Header menu 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
tierneyc Posted March 8, 2023 Author Share Posted March 8, 2023 @tuanphan Thank you for responding! The work page and the V2 Work page are both in the header (V2 is the style we want but preferably with the Squarespace template that Our Work uses), I apologize for the confusion. I have attached an example GIF file. Link to comment
tuanphan Posted March 10, 2023 Share Posted March 10, 2023 https://caribou-smilodon-6l25.squarespace.com/ourwork Add to Design > Custom CSS. This code for first item a.grid-item[href="/ourwork/lsssizzle-mfybl"]:hover img { content: url(https://content.invisioncic.com/p289038/monthly_2023_03/2021LongStoryShortSizzle-high.gif.436c6863965855afc1ee3c087b82277c.gif); } /ourwork/lsssizzle-mfybl is project url EarvinChong 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
tierneyc Posted March 13, 2023 Author Share Posted March 13, 2023 (edited) Thank you so much! Is it possible to have settings for mobile? Edited March 13, 2023 by tierneyc Link to comment
tuanphan Posted March 17, 2023 Share Posted March 17, 2023 On 3/13/2023 at 9:09 PM, tierneyc said: Thank you so much! Is it possible to have settings for mobile? You mean replace to another gif on mobile or? 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
tierneyc Posted March 22, 2023 Author Share Posted March 22, 2023 Is it possible to have it be a single tap to play the gif and then another tap on mobile for the clickthrough link? Link to comment
tuanphan Posted March 24, 2023 Share Posted March 24, 2023 On 3/23/2023 at 12:36 AM, tierneyc said: Is it possible to have it be a single tap to play the gif and then another tap on mobile for the clickthrough link? Hi, I don't know 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!) Link to comment
nickgardner400 Posted April 11, 2023 Share Posted April 11, 2023 Hi @tuanphan I am also trying to figure out how to make my homepage images only play when hovered. Could you explain how I need to go about doing this in Square space? I can send u my website. I just want the images to be still until you hover over with curser. thank you my portfolio https://www.nickgardnerportfolio.com/ what I want it to do https://www.steptstudios.com/ Link to comment
tuanphan Posted April 11, 2023 Share Posted April 11, 2023 5 hours ago, nickgardner400 said: Hi @tuanphan I am also trying to figure out how to make my homepage images only play when hovered. Could you explain how I need to go about doing this in Square space? I can send u my website. I just want the images to be still until you hover over with curser. thank you my portfolio https://www.nickgardnerportfolio.com/ what I want it to do https://www.steptstudios.com/ Ideal here is hover on each item >> replace current image with a gif or video (with code) If you have 19 items, we will need 19 code If you still want to do this, let me know, we can give the code EarvinChong 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
nickgardner400 Posted April 11, 2023 Share Posted April 11, 2023 @tuanphan yes, that would be wonderful! do the gif need to have a url? Link to comment
MichelleSandler Posted April 15, 2023 Share Posted April 15, 2023 Hi I also need help with how to do this same coding. Link to comment
tuanphan Posted April 16, 2023 Share Posted April 16, 2023 4 hours ago, MichelleSandler said: Hi I also need help with how to do this same coding. Add to Design > Custom CSS a.grid-item .grid-image-inner-wrapper { background-size: cover; background-repeat: no-repeat; background-position: center center; transition: all 0.3s ease; } a.grid-item:hover .grid-image-inner-wrapper img { opacity: 0; transition: all 0.3s ease; } a.grid-item .grid-image-inner-wrapper img { transition: all 0.3s ease; } a.grid-item:nth-child(1) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/40f786c3-b0b5-4f89-9cdc-67588a42be77/MWF2.gif); } a.grid-item:nth-child(2) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/1661782657732-F1MC8XFCK78K57X6J8JR/NISSAN+MAGNITE-high.gif); } a.grid-item:nth-child(3) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/8a9879b6-ad11-4c12-904a-fa046332cfcc/I+Shape+My+World+-+Zuleika+Patel.gif); } a.grid-item:nth-child(4) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/24194dd9-6fba-406a-a7c2-dff860426a85/120+Years+of+Quality+%26+Style.gif); } a.grid-item:nth-child(5) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/0d7ae118-ca52-497f-ac43-29d2a06219e0/adidas+Continental+80.gif); } EarvinChong 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
Aerion Posted May 12, 2023 Share Posted May 12, 2023 Hey there, I want to do about the same thing : having a different GIF to play when hovering each image of the gallery. My website : https://camillemarotte.com/ About the same reference : https://www.steptstudios.com/ Cheers, Link to comment
Aerion Posted May 13, 2023 Share Posted May 13, 2023 Ha no worries I found the solution using the code you provided in the end 😉 tuanphan 1 Link to comment
xtianisabsent Posted August 13, 2023 Share Posted August 13, 2023 @tuanphan hello can you help me with my problem I also have similar problem but I can't found a solution Link to comment
tuanphan Posted August 16, 2023 Share Posted August 16, 2023 On 8/13/2023 at 9:56 PM, xtianisabsent said: @tuanphan hello can you help me with my problem I also have similar problem but I can't found a solution Can you share link to page where you have problem? 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
Apiata Posted October 24, 2023 Share Posted October 24, 2023 (edited) On 4/16/2023 at 3:21 PM, tuanphan said: Add to Design > Custom CSS a.grid-item .grid-image-inner-wrapper { background-size: cover; background-repeat: no-repeat; background-position: center center; transition: all 0.3s ease; } a.grid-item:hover .grid-image-inner-wrapper img { opacity: 0; transition: all 0.3s ease; } a.grid-item .grid-image-inner-wrapper img { transition: all 0.3s ease; } a.grid-item:nth-child(1) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/40f786c3-b0b5-4f89-9cdc-67588a42be77/MWF2.gif); } a.grid-item:nth-child(2) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/1661782657732-F1MC8XFCK78K57X6J8JR/NISSAN+MAGNITE-high.gif); } a.grid-item:nth-child(3) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/8a9879b6-ad11-4c12-904a-fa046332cfcc/I+Shape+My+World+-+Zuleika+Patel.gif); } a.grid-item:nth-child(4) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/24194dd9-6fba-406a-a7c2-dff860426a85/120+Years+of+Quality+%26+Style.gif); } a.grid-item:nth-child(5) .grid-image-inner-wrapper { background-image: url(https://images.squarespace-cdn.com/content/5ffc7fcb6bbc7c3452a02a51/0d7ae118-ca52-497f-ac43-29d2a06219e0/adidas+Continental+80.gif); } Where exactly do I place this in my CSS? Edited October 24, 2023 by Apiata Where exactly do I place this in my Custom CSS? Link to comment
tuanphan Posted October 26, 2023 Share Posted October 26, 2023 On 10/24/2023 at 8:03 AM, Apiata said: Where exactly do I place this in my CSS? Top or bottom of CSS box. Remember to save all code somewhere, just for backup 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