How can I start sticky navbar when it reaches a certain block?

The sticky navbar becomes active immediately when I scroll. How can I make it only active when the delay or scroll comes to a block?

You’ll find all details on how to apply the onscroll event here:

1 Like