SimonFr Posted September 18, 2022 Posted September 18, 2022 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
Beyondspace Posted September 19, 2022 Posted September 19, 2022 (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 Can you explain the subpages? which pages should we consider them as subpages? Edited September 19, 2022 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
SimonFr Posted September 19, 2022 Author Posted September 19, 2022 With subpages I mean all other pages except the home page/start page.
tuanphan Posted September 20, 2022 Posted September 20, 2022 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!)
SimonFr Posted September 20, 2022 Author Posted September 20, 2022 @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?
tuanphan Posted September 20, 2022 Posted September 20, 2022 (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 September 20, 2022 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!)
SimonFr Posted September 22, 2022 Author Posted September 22, 2022 (edited) @tuanphan I have added the code under Code Injection Footer. I have now tried a combination of your code and the other one I posted earlier and it seems to work 🙂 Thanks a lot! Edited September 22, 2022 by SimonFr tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment