Hannah123456 Posted February 19, 2020 Share Posted February 19, 2020 Site URL: https://www.lifecreativegroup.org/home I'm using a code block to change an image when it's hovered over (see 3rd section of index page), and I would also like the image to be clickable, so it links to each individual artists' page. What code can I add to make that happen? See below for the current code I'm using <img src="COVER_IMAGE" onmouseover="this.src='OTHER_IMAGE'" onmouseout="this.src='COVER_IMAGE'"> Link to comment
tuanphan Posted February 20, 2020 Share Posted February 20, 2020 I usually use Image Block + CSS to create change image on hover effect. (you can insert link when uploading image) If you want to do this way, you can add Image Blocks + share hover image url, I can give the code to create this. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
BrickHouse Posted October 3, 2020 Share Posted October 3, 2020 You would add html hyperlink command <a href="/your-link-here"> <img src="COVER_IMAGE" onmouseover="this.src='OTHER_IMAGE'" onmouseout="this.src='COVER_IMAGE'"> </a> Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.