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
  • Created
  • Last Reply

Top Posters In This Topic

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.

Edited by tuanphan

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
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • 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.