Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
melissahurt

Need logo to link to my welcome page, not my landing page

Question

I need the logo on my home page (technically, my welcome page) to link to my welcome/home page and NOT  my landing page. I changed the code in the footer, but I need to change the header link. The code there is very long!  Not sure what to change. Who can advise, please? I have the Sonora template. Thanks!

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

It's usually a case of adding something like this to Settings > Code Injection > Footer:

window.Squarespace.onInitialize(Y, function(){
  document.querySelector('.Header-branding').setAttribute('href', '/about-us-sonora');
});

Change '/about-us-sonora' to be the URL of the page you want visitors to reach when they click the logo.

Let me know how you get on. As you didn't include a working link to your site in the question I wasn't able to test it.


If a response has helped you, please give thanks using the  like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png button.
Need personalised help? I'm a professional Developer who works with Designers internationally. You can book me via my company's website. www.sf.digital

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...