Select Page

If you want to open your SquareSpace logo in a new tab with a different URL, perhaps you are using squarespace as a blog, and want to redirect the logo clicks to the main site homepage.

Add the following to your “inject header” code.

<script src=”//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js“>

</script>

Add the following to your “inject footer” code.

<script>

$(document).ready(function(){
$(‘#logo’).find(‘a’).html(‘<a href=”http://google.com” target=_blank”><img src=”//static1.squarespace.com/static/”</a>’);
});

</script>

Change the href value to the site you want to redirect  the click to.

To get your img src for your logo, hover over the image with your mouse, cmd + click or ctrl + click and chose to “open in new tab”. Copy pasta that into the img src, without the http: or https:

Copy and paste that in. Done.