Zendoodle Posted October 24, 2023 Posted October 24, 2023 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?
Ziggy Posted October 24, 2023 Posted October 24, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Zendoodle Posted October 24, 2023 Author Posted October 24, 2023 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.
Ziggy Posted October 24, 2023 Posted October 24, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Zendoodle Posted October 25, 2023 Author Posted October 25, 2023 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 } }
Zendoodle Posted October 26, 2023 Author Posted October 26, 2023 Can someone help with this issue please? Thank you.
Solution Ziggy Posted October 26, 2023 Solution Posted October 26, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Zendoodle Posted October 26, 2023 Author Posted October 26, 2023 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
Ziggy Posted October 26, 2023 Posted October 26, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Zendoodle Posted October 26, 2023 Author Posted October 26, 2023 It works!! thank you so much. You are a legend. Ziggy 1
Ziggy Posted October 26, 2023 Posted October 26, 2023 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 Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment