Sticky Header Problem

Hi there…
I’m trying to create a simple sticky header whereby a navigation bar under a hero image locks to the top of the page as you scroll. The thing is, I’ve got it working perfectly on one page… but can’t get it to working, doing the exact same thing - I think - on others. I am using OnWindowScroll across the board.

This is working:’

This is not working:

Any ideas would be greatly appreciated. I’m attaching a file with an example of each.

Thanks so much in advance.


Faulkner - Sticky Header Issue.rp (1.4 MB)