Sticky navigation bloc

Hello,

instead of using the pre-made navigation bloc, I have created my own. But I have not found a way to make it sticky on top of the page.

In the case of pre-made navigation bloc, there is the possibility to make it sticky.

How can I do with my own navigation bloc?

Thanks for helping,
dan

Hello,

add the following code in the page settings and add the class “sticky” to your navigation. If this do not works. add the sticky class to a div and put your navigation inside the div.

2 Likes

Thanks for the clear explanation

1 Like