Jump to content

How to Change the link address of my logo in the header

Recommended Posts

How do I change the URL that my logo in my in my header links to?  There was an older post originating in 2015 that had some custom code to do this by injecting into the header section under Settings>Advanced, but it no longer seems to work in 7.1 version.

I'm not a coder but tried the code below and realize that older version of jquery is out of date...can someone suggest new code that will do the job (trying to link to blog.naturaliststudies.com)?

----------------------------

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>

<script>$(document).ready(function () {
         $(".logo a[href]").attr("href", "https://naturaliststudies.com/");
       });
</script>

----------------------------

thanks

Link to comment
  • Replies 1
  • Views 238
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.