AngieM Posted March 28, 2023 Share Posted March 28, 2023 Hi there, I am trying to create a custom hover effect on an image with the text block on top that links to another page. I do not want the link to be just on the text - I want the link to cover the whole text block so that you can click anywhere on the image. I'm trying to achieve the effect I have got on for my "Design" page which was done in already built in template. The section I would like your help is located above the "Set Menu" at https://www.anjucreative.com/services The custom code I used to create the hover effect: @media only screen and (min-width: 0px){ #block-yui_3_17_2_1_1679917918345_6347 { opacity: 0; transition: opacity 1s } #block-yui_3_17_2_1_1679917918345_6347:hover { opacity: 1; transition: opacity 1s } } Is there another code that follows after to insert the link in the block? Thanks in advance! Link to comment
tuanphan Posted April 2, 2023 Share Posted April 2, 2023 The url doesn't work. Can you check it again? 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!) 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