Squarespace 7.1 - Linking navigation folder to first item in the folder in Customize with code Posted October 7, 2020 The solution provided by @RyanDejaegher (see code below) works great in Squarespace 7.1 on desktop, but fails on mobile for me. 🙁 <script> (function() {window.addEventListener("load", function () { var tours = document.querySelector('[href="FOLDER SLUG COPIED FROM STEP 1"]'); tours.addEventListener("click", function () { window.location = "PAGE SLUG OR FULL URL"; }); })} )(); </script>
Squarespace 7.1 - Linking navigation folder to first item in the folder
in Customize with code
Posted
The solution provided by @RyanDejaegher (see code below) works great in Squarespace 7.1 on desktop, but fails on mobile for me. 🙁