Hide footer on one page only, how?

I want to hide the footer (not header and footer) on one page only, the only way I’ve been able to do it is with

$w.onReady( **function**  () { 
    $w("#footer1").children.forEach((item, i) => { 
        item.collapse(); 
    }); 
}); 

The problem is that when you navigate to another page it stays hidden (and I haven’t been able to detect the page change to show it again).

Surely such a simple thing should be possible.

1 Like

Hey There,

The code you provided works! Just make sure that you’re inputting the code into the page with the page tab activated. In this case, it will be all grey like the code box background.

old post being closed.