@Beyondspace just wanted to say THANK YOU 🙏🙏🙏. I am used to LeadPages and there it is soooo easy to hide sections. But while I do love SquareSpace, I had a scenario where I needed to hide or show sections, and your code is so perfect.
I love how it makes it semi-transparent in edit mode. Unlike other code snippets I found which hide it completely.