Jump to content

Changing the URL that the logo links to on Brine template

Recommended Posts

Posted

Site URL: https://onsong.co.uk

I would like to change where the logo points on my brine template site. I have tried various javascript solutions on the forums but none seem to work or I am implementing them wrong!

Any suggestions gratefully received.

  • Replies 4
  • Views 479
  • Created
  • Last Reply
Posted
23 hours ago, stawski said:

Sorry, that was the temporary home page that I don't want the logo to link to!

If you click through from there to any page (e.g. https://www.onsong.co.uk/home-1)
then it's the logo that is sitting at the top in the middle

Thanks

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() {
	$('a.Header-branding, a.Mobile-bar-branding').attr('href','https://beaverhero.com');
});
</script>

Replace beaverhero with new url. Disable Ajax Loading if the code doesn't work.

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.