Jump to content

How to make my entire Cover Page a clickable link?

Recommended Posts

  • Replies 7
  • Views 13.4k
  • Created
  • Last Reply

Go to your cover page setting by clicking on a cog and paste this into Code Injection field

<body onclick="window.location.href='newpage.html';" style="cursor:pointer; width:100%; height:100%;"></body>

Of course use your own link.

Link to comment
  • 1 year later...

Thank you for this...I needed to know exactly this information and your code worked a treat after some testing.

Just for clarity for others...if you're linking to an internal page all you need is the name of the page itself. This can be found in the CONFIGURE INDEX of the page you want to click through to and is in the section URL Slug. Just copy the name, don't include the / symbol. Took me a while to realise this as I tried different things that weren't working.

Link to comment
  • 8 months later...
  • 1 year later...

Archived

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

Guest
This topic is now 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.