Fulleren Posted May 18, 2023 Posted May 18, 2023 https://aqua-owl-8hp7.squarespace.com/pw: renfuller2023 I want to have an image lead to a different page via a hover text link. Currently I have the images as my starting block. Over that I have a text block and use this code for the hover effect: @media only screen and (min-width: 640px){ #block-yui_3_17_2_1_1684378901582_3328 { opacity: 0; transition: opacity .5s } #block-yui_3_17_2_1_1684378901582_3328:hover { opacity: 1; transition: opacity .5s } } It works great, but it makes the image not clickable. I've tried putting the URL both on the image block and the text block. It seems like the hover code wipes out the link. Is there a work around for this? Thank you!
Fulleren Posted May 18, 2023 Author Posted May 18, 2023 I was able to figure it out. Instead of having my image block below the text block, I switched the order. in the block ID, i changed it to my image block id, and switched the opacity to start at 1 (full image block) and the second opacity I set at .3, so that the text block becomes visible underneath the image.
tuanphan Posted May 22, 2023 Posted May 22, 2023 Did you solve or still need help? 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment