Jump to content

Avenue template - Change link associated with logo image

Recommended Posts

Posted

Site URL: https://www.la-concordia.co.uk

Hi all,

Looking for some assistance in changing the hyperlink associated with my logo image on my squarespace site. There is a splash screen that user sees on landing, but once in the site, want to change the page they go to when they click on the logo.

I'm currently using the Avenue template, version 7.0. I've been looking through this forum and found loads of posts related to the same issue, but not had any luck getting any of the proposed solutions there to work.

Site is https://www.la-concordia.co.uk, and ideally when user clicks on the logo we'd like it to go to /what-we-do.

Is anyone able to provide assistance?

Thanks in advance

  • Replies 2
  • Views 811
  • Created
  • Last Reply
Posted

Add to Home > Settings > Advanced > Code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('h1.logo a').attr('href','https://beaverhero.com');
});
</script>

Replace beaverhero with new url.

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!)

Archived

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.