Hi all, I'm having some issues with a fairly simple code. I'd like a gallery and text displayed on every page except for the Home page.
$w.onReady(function () { //Hides the element when the page loads $w("#gallery5, #text19").hide();
This is the code for that action. However, if I navigate THROUGH the homepage to the rest of the website, the gallery and text never appear. If I type in the URL of specific pages, the gallery and text re-appear (examples of each below).
Does anyone know how to fix this quirk?
Have a look at this tutorial here.
https://support.wix.com/en/article/corvid-tutorial-hiding-an-element-on-certain-pages
Line 5 calls the hide() function, which sets the element's hidden property to true. This means the element will not be displayed on this page even if the element is set to "Show on all pages".
If you decide you want to display the element, you can change the hide() function to show().