KRISSYG Posted March 6, 2023 Posted March 6, 2023 (edited) I would like to make the logo of this website (https://www.iladdinc.org) redirect to another website when it's clicked on. I've already tried inserting the following in code injection (header). It's not working. Wondered if there is another code or another way to do this? The site is using Brine for the last 3 years. Edited March 6, 2023 by KRISSYG forgot url
Beyondspace Posted March 6, 2023 Posted March 6, 2023 12 hours ago, KRISSYG said: I would like to make the logo of this website (https://www.iladdinc.org) redirect to another website when it's clicked on. I've already tried inserting the following in code injection (header). It's not working. Wondered if there is another code or another way to do this? The site is using Brine for the last 3 years. You can try adding to Home > Settings > Advanced > Code injection, choose footer <script> (function(){ const logos = document.querySelectorAll('[data-nc-element="branding"]') logos.forEach( logo=> { logo.setAttribute('href','your URL here'); }) })() </script> Support me by pressing 👍 or marking as solution if this is useful for you 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment