How to change the url of logo click

Hello! Thanks for your work on this. This is my first time using custom code, and I’m having trouble getting any of these solutions to work.

I used your code here:

I changed both home-header1’s to home-header3’s as it is in my app, put it in the custom header code for the page and…. nothing. Still links to my Softr Home. I’m wondering what I’m doing wrong? Any ideas?

I have tried this code with no success on the custom code header section. Any help?

})

Can you please try this custom code:
<script>
window.addEventListener('block-loaded-header1', () => {
const logoElement = document.querySelector(".softr-nav-logo")
const LINK_HREF = "" // <- update only this section with your link

if (logoElement) {
logoElement.setAttribute("href", LINK_HREF)
}
});
</script>

//
window.addEventListener(‘block-loaded-header27’, () => {
const logoElement = document.querySelector(“.softr-nav-logo”)
const LINK_HREF = “Page not found
if (logoElement) {
logoElement.setAttribute(“href”, LINK_HREF)
}
});
//

Still not working

can you try without changing HRID, like block-loaded-header1

Same results. It keeps sending the user to the home page.