Jump to content

Trying to find a code to change the link my logo takes you to when you click on it?

Go to solution Solved by sorca_marian,

Recommended Posts

@JordyTery Hi Jordy! Thanks for your help and quick response. I just applied the code into the header section and unfortunately it didnt make any changes. 


It's currently still in there now if you visit the site


All my best,


Link to comment
  • Solution
Posted (edited)

There is a small mistake in the code provided.

 I updated it.

document.addEventListener('DOMContentLoaded', function() {
    document.querySelector('h1.image a').setAttribute('href', '/home');
Edited by sorca_marian
url to make it shorter
Link to comment

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.