EmilyLewis Posted September 20 Share Posted September 20 Hey, I need help making the blog post title appear when hovering over the image, rather than it being underneath the image. The blog is using the masonry blog layout. For context, this is the projects page but I made it using the Blog. https://momentumcardiff.squarespace.com/projects Password: aXWoryOnAloA Thank you in advance! Emily Lewis Founder of TwoFold Squarespace websites for service-based businesses twofold-studios.com Link to comment
tuanphan Posted September 22 Share Posted September 22 Hi, I see you already figured it out? 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
Solution EmilyLewis Posted September 22 Author Solution Share Posted September 22 7 hours ago, tuanphan said: Hi, I see you already figured it out? Hey, yes I played around with it for a few hours. This is what I've managed to do in the end, but let me know if there would have been a more efficient CSS to get the same results. //Project overlay - desktop only// @media screen and (min-width: 640px){ //Hover background colour overlay on image// .blog-image-wrapper { background-color: #46363c; } .hentry:hover .image-wrapper { opacity: 0.5; } //Hover text overlay on image// .blog-item-summary { opacity: 0; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); } .hentry:hover .blog-item-summary { opacity: 1; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); } .hentry:hover .blog-title { color: #FFFFFF; } //Hover read more link text and underline change// .hentry:hover .blog-more-link { color: #FFFFFF; } .hentry:hover .blog-more-link:before { border-bottom: 1px solid #ffffff } } Emily Lewis Founder of TwoFold Squarespace websites for service-based businesses twofold-studios.com Link to comment
tuanphan Posted September 25 Share Posted September 25 I also have another code, but I see the two codes are only slightly different, so if your code already works, you don't need to look for another code. 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
EmilyLewis Posted October 5 Author Share Posted October 5 On 9/25/2023 at 3:47 PM, tuanphan said: I also have another code, but I see the two codes are only slightly different, so if your code already works, you don't need to look for another code. Fab, yeah it's working. Thanks for checking! tuanphan 1 Emily Lewis Founder of TwoFold Squarespace websites for service-based businesses twofold-studios.com 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