Changing URL link to logos in header/footer

Hi everyone,

Our Softr site is a sub-site to our primary brand. I would like the logos in the header and footer to go to our primary brand website (which is designed via Hubspot per my business partner’s request :smirk:)

I’m not a savvy coder, so I need the easy solution to this, please.

Thanks!

1 Like

Hey we will share a small code snippet tomorrow to address this. In the meantime can you pls share a link to check and test ?

1 Like

Our URL is www.raise-u.com

Hey Carrie,

Please use this custom code to change the header logo URL.

To change the footer logo URL, please use the following.

<script>
document.body.addEventListener('click', (e) => {
    if (e.target.closest('#footer1 img')) {
		document.location.href = 'https://google.com/';
    }
});
</script>
<style>
    #footer1 img {
        cursor: pointer;
    }
</style>

Thanks,

2 Likes

Thanks! I figured it out!

2 Likes