In search of a code to insert into my project Utilizing images to create a large interactive button
I'm currently using the divi code module within WordPress. I am seeking the ability to have an image switch with another image when hovering over it, and then switch back when no longer hovered over, all with a relatively quick fade effect. (I will provide the image URLs).
Additionally, I would like the image to be clickable and direct users to a specific URL (I will specify this in the code, just let me know where to add it i.e |your url here|).
For mobile devices or touch screen users, I want the first image to change to the second image when tapped on, and then redirect to the same specified URL.
Any assistance on this matter would be greatly appreciated :)