Jump to content

How do I add a hyperlink to a code block?

Recommended Posts

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" 
Link to comment
  • Replies 2
  • Views 4.1k
  • Created
  • Last Reply

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 7 months later...


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.