Jump to content

I Need Help Linking my Headers Logo to Different Pages

Recommended Posts

Site URL: https://estateagency.marketing/

Hi there. I really need to change the destination on pages when a visitor clicks on my logo within the header.

Basically, my website now has three Squarespace accounts to make up one site. The idea is to have 'SEO For Estate Agents' and 'Content For Estate Agents' as their own accounts so I can make use of the site title.

The problem is - When I click on my logo within the header, I don't get directed to the sites home page (estateagency.marketing) whist on one of the standalone pages/accounts I created - https://www.seoforestateagents.marketing/, for example.

Could anyone help?

Link to comment
1 hour ago, paulsdigitalservices said:

Site URL: https://estateagency.marketing/

Hi there. I really need to change the destination on pages when a visitor clicks on my logo within the header.

Basically, my website now has three Squarespace accounts to make up one site. The idea is to have 'SEO For Estate Agents' and 'Content For Estate Agents' as their own accounts so I can make use of the site title.

The problem is - When I click on my logo within the header, I don't get directed to the sites home page (estateagency.marketing) whist on one of the standalone pages/accounts I created - https://www.seoforestateagents.marketing/, for example.

Could anyone help?

You can try adding to Home > Settings > Advanced > Code Injection

<script>
// Change link direction of logo to shop in Desktop & Mobile
  (function() {
    document.querySelectorAll('a.Mobile-bar-branding, a.Header-branding').forEach(a => {
        a.setAttribute('href','Your new link');
    })
  })();
</script>

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

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.