Jump to content

Changing the link address of my website logo

Recommended Posts

Posted

Site URL: https://freedomofmovement.squarespace.com/

Hi hi!

In order not to play my intro page animation again and again, I would like to change the link address of my logo on my website (link to a copy of the start page without intro). I found a code that you have to put on every single subpage. Is it possible to do this easier? Is there a code that you enter once and it works for all current and future subpages? I would be very happy about your help!

Password: fom2022
Template: Growwell

Bildschirmfoto 2022-09-18 um 17.07.58.png

Posted (edited)
22 hours ago, SimonFr said:

Site URL: https://freedomofmovement.squarespace.com/

Hi hi!

In order not to play my intro page animation again and again, I would like to change the link address of my logo on my website (link to a copy of the start page without intro). I found a code that you have to put on every single subpage. Is it possible to do this easier? Is there a code that you enter once and it works for all current and future subpages? I would be very happy about your help!

Password: fom2022
Template: Growwell

Bildschirmfoto 2022-09-18 um 17.07.58.png

Can you explain the subpages? which pages should we consider them as subpages?

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted
17 hours ago, SimonFr said:

With subpages I mean all other pages except the home page/start page.

Add this code to Last Line in Code Injection > Footer. You can replace google with new url

<script>
$(document).ready(function() {
$('.header-title-logo a').attr('href','https://google.com');
});
</script>

 

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!)

Posted

@tuanphan Thanks for the code. It works for the home page. But now when I go to another page, like for example 'Workshops' and then click on the logo I don't get to the linked page, but to the page with animation. Is there a way to make the link work for all pages on my website?

Posted (edited)
11 hours ago, SimonFr said:

@tuanphan Thanks for the code. It works for the home page. But now when I go to another page, like for example 'Workshops' and then click on the logo I don't get to the linked page, but to the page with animation. Is there a way to make the link work for all pages on my website?

Where did you add the code? Home Page Header or Site wide Code Injection Footer?

Edited by tuanphan
typo

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!)

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.