mcmullian Posted June 16, 2021 Share Posted June 16, 2021 Site URL: https://pentagon-apple-msys.squarespace.com/ Hi! I'm looking to have an image appear on a hover over the portfolio grid instead of a color overlay. I've gotten some code to change the color on the hover overlay, but just wondering if there's a line of code to put in the CSS to initiate the image on hover. Thank you! Example of what my portfolio grid looks like below. Link to comment
Wolfsilon Posted June 16, 2021 Share Posted June 16, 2021 Hello, Could you please add a private password to your page, or website, and share that with us. Currently, we are blocked from entering the site. Once you've done that we can better assist you. Also, are you looking to add a single image to overlay all photos or a different overlay for each portfolio item? -Dan Link to comment
mcmullian Posted June 16, 2021 Author Share Posted June 16, 2021 (edited) Thanks for letting me know! Password: test Would actually love to have something different for each portfolio item as long as the code isn't too insane! Edited June 16, 2021 by mcmullian Link to comment
tuanphan Posted June 17, 2021 Share Posted June 17, 2021 12 hours ago, mcmullian said: Thanks for letting me know! Password: test Would actually love to have something different for each portfolio item as long as the code isn't too insane! Hi. Same image for all projects or different images? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
mcmullian Posted June 19, 2021 Author Share Posted June 19, 2021 Would love to do a different image for each project! Link to comment
tuanphan Posted June 21, 2021 Share Posted June 21, 2021 On 6/20/2021 at 12:00 AM, mcmullian said: Would love to do a different image for each project! Add to Design > Custom CSS. Repeat for other projects /* Project 1 */ a.grid-item[href="/work/the-ruse-lmgj6"] { background-size: cover; background-image: url(https://cdn.pixabay.com/photo/2015/07/09/23/09/cadaques-838724__340.jpg); } a.grid-item[href="/work/the-ruse-lmgj6"]:hover img { visibility: hidden; } /* project 2 */ a.grid-item[href="/work/american-portraiture-lzgfe"] { background-size: cover; background-image: url(https://cdn.pixabay.com/photo/2021/06/15/13/20/banded-demoiselle-6338620__340.jpg); } a.grid-item[href="/work/american-portraiture-lzgfe"]:hover img { visibility: hidden; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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