Like others in this thread, I also would love it if SquareSpace just made all our lives easier and added an option to add a password on individual projects. I am trying to find a workaround for this issue and created a separate page for the project I want password protected. This works great for the project link I have on my homepage; however, I also still want the thumbnail to show in my gallery. I am trying to find some javascript code to redirect the gallery project on click to the password protected page. Does anyone have any advice on this?
FYI This is the code I am trying to inject:
<script>var img = document.querySelector(".grid-item[href*='draft']");
img.addEventListener('click', function(e) {
e.preventDefault();
window.location = "https://www.urlhere/wherever/u/wanna/go"
});</script>