- Introduction
- Getting Started
- Header
- Helper Classes
- Sliders
- Shortcodes
- Extra
- Source & Credits
- FAQs
3.2.Sticky Menu
When you scroll down, the Sticky Header “sticks” to the top of the window and is an exact replica of the main header and menu.
To enable/Disable sticky header follow this simple method:
Just simply by true and false values you can enable or disable sticky menu in mega menu block script in custom.js
.
To enable sticky menu use true
value. See example below:
sticky_header: true, // menu fixed on top when scroll down down. options (true) or (false)
To disable sticky menu use false
value. See example below:
sticky_header: false,// menu fixed on top when scroll down down. options (true) or (false)