Zendoodle Posted October 24 Share Posted October 24 Hi All, I have added an overlay to all my images, but i want those overlay to be able to clickthrough to another webpage. How do i achieve this? Link to comment
Ziggy Posted October 24 Share Posted October 24 Can you share your website URL? What do you mean by an overlay? Is it an opacity overlay? Are these image blocks or in a gallery? jessiebjenn 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Zendoodle Posted October 24 Author Share Posted October 24 Thank you for replying. Here's the link. https://avocado-falcon-sp84.squarespace.com/residential When you hover over the projects, this is an overlay i've created. I'd like for user to be able to click on that overlay, then take them to that projects page. Prior to having the overlay, the image use to link to the corresponding webpage. Let me know if that makes sense. Link to comment
Ziggy Posted October 24 Share Posted October 24 How have you created this overlay? jessiebjenn 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Zendoodle Posted October 25 Author Share Posted October 25 I have used the following CSS script. @media only screen and (min-width: 640px){ #block-158287dfb82d8bd31480 { opacity: 0; transition: opacity 0.4s } #block-158287dfb82d8bd31480:hover { opacity: 0.6; transition: opacity 0.4s } } Link to comment
Zendoodle Posted October 26 Author Share Posted October 26 Can someone help with this issue please? Thank you. Link to comment
Solution Ziggy Posted October 26 Solution Share Posted October 26 The problem you have is that you have your overlay as a block that is hiding the link, and if you made that overlay transparent to clicking it wouldn't then appear on hover. Swapping the text block that appears on hover for an image block (you would have to photoshop this) you could then add the link to that image block. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Zendoodle Posted October 26 Author Share Posted October 26 Thanks Ziggy, I understand what you are saying regarding the image block. So, if i change to an image block, can i still have the hover effect happen? I would be stacking the text image on top of the project image. Is that right? Ziggy 1 Link to comment
Ziggy Posted October 26 Share Posted October 26 22 minutes ago, Zendoodle said: I would be stacking the text image on top of the project image. Is that right? Yes, exactly. It would be useful if you could add a link to a text block like you do with a image block, but until that happens we need this type of method. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Zendoodle Posted October 26 Author Share Posted October 26 It works!! thank you so much. You are a legend. Ziggy 1 Link to comment
Ziggy Posted October 26 Share Posted October 26 46 minutes ago, Zendoodle said: It works!! thank you so much. You are a legend. Happy to help, thanks for the upvote! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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