Have a pinned CTA button on side of all pages, but need to hide on Contacts page. I pasted in the Code console on the pafe the code given in Wix’s article for this purpose : // Hides the element when the page loads $w(“#button8”).hide();
Made sure I added it to the Page option, not the Site optoin.
But, it still hides the element from all pages on both preview and after publishing. Treid doing this on Chrom and on Safari. Bupkis.
Any help out there??? Pls!
Thank you Massa. Yes I think that will work. But (directing this at the Wix development team, not to you, Massa) it doesn’t really solve the problem as much as it creates some more work. But, for now the result is more important than that process. Thank you.
hello
the reason you have to show it in all pages again after you hide is because it’s still the same element. when u hide it you hide the element of this id which is still the same.
this was one of the ideas, you can do other things to get the same result (for example you can write an if statement checks if it’s contact page hide else show).
Massa