Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ General Web Design _ hover effect

Posted by: ipetsch Nov 30 2020, 01:39 PM

Hi!
I am trying to add a hover effect to an image on my wordpress post page. The image links to a pdf. It should be pretty simple but I can't figure it out. Here's my current code for the image and link, please let me know what I need to add to get the hover effect working!

<div class="wp-block-image"><figure class="alignleft size-large is-resized"><a href="https://www.customlink.pdf" target="_blank"><img src="image.png" alt="" class="wp-image-9377" width="254" height="203"/></a></figure></div>

Thanks!

Posted by: pandy Dec 1 2020, 06:17 AM

What kind of hover effect? What have you tried so far? I see no attempt at all.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)