I'm using the code below to hide elements (a group of text buttons) on certain pages. I have "show on all pages" turned on, and have added the code on the pages where I want it to hide. I found the code here on the Corvid forum. It seems temperamental and works sometimes, but most of the time, not at all. Sometimes it works in Preview mode and as I navigate, it decides to stop working entirely and won't show the elements at all on any of the pages where it is not hidden. I've called Wix for help and they have directed me here. I've done a lot of troubleshooting but can not solve this problem and am hoping someone can help me. Thank you!
// Hides the element when the page loads $w("#group24").hide();