I had success with this on (2) out of (3) of the folders on my site but no amount of trying has fixed it. My code is:
<script>
(function()
{window.addEventListener("load", function () {
var tours = document.querySelector('[href="/news-events"]');
tours.addEventListener("click", function () {
window.location = "https://mcbd.squarespace.com/benefits-district";
});
})}
)();
</script>
I'm trying to have the News page open when news-events folder is clicked. The same code is working for ABOUT and SERVICES section. Any ideas?
site: https://mcbd.squarespace.com
pw: 1234