The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> hover effect
ipetsch
post Nov 30 2020, 01:39 PM
Post #1





Group: Members
Posts: 1
Joined: 30-November 20
Member No.: 27,662



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!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 1 2020, 06:17 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



What kind of hover effect? What have you tried so far? I see no attempt at all.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 03:09 AM