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

How to change Header Logo's Link on one page.


Gallery_Films

Question

I've successfully added the code to redirect my header logo to my true home page since my landing page is now the designated as the home page in Squarespace.  (This works throughout the entire site.) However, I have one page I would like to have the header logo send me to a specific page when clicked... kind of an alternative home page.  Is there a code that I can load for just that page?

Edited by Gallery_Films
Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

Hi @Gallery_Films

On 3/26/2020 at 3:52 AM, Gallery_Films said:

I would like to have the header logo send me to a specific page when clicked... kind of an alternative home page.  Is there a code that I can load for just that page?

Were you able to figure this out?  

On 3/27/2020 at 1:01 AM, tuanphan said:

If yes, add script code to Page Settings > Advanced > Header. Each page has page header.

@tuanphan I attempted to put the same code in page header but it isn't working. Intention is to replace and relink logo image on certain page.

https://pumpkin-marlin-3wxs.squarespace.com/creative/

PW: breathetest

Any help appreciated

Link to post
  • 0

Add to Page Header

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
    $(".header-title-logo a").attr("href", "https://beaverhero.com");
});
</script>

 

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...