Close

Top Menu Stick

justinhof
8 years ago
#9510 Quote
Avatar
  • 28
How can I make the top menu stick similar to other themes like Nitro? I have switched the doesDesktopHeaderMenuStick to true in the script, but this did not change the functionality of the menu.

Thanks!
hristian.dimov
8 years ago
#9512 Quote
Avatar
  • Moderator
  • 386
justinhof wrote:
How can I make the top menu stick similar to other themes like Nitro? I have switched the doesDesktopHeaderMenuStick to true in the script, but this did not change the functionality of the menu.

Thanks!


Hi,

Actually setting the doesDesktopHeaderMenuStick to true is enough to have the sticky menu. But you need to have a css styling in order to see the menu. Here is a simple styling for showing the menu:

.header-menu.stick {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #000;
}


Hope this helps!
Regards,
Hristian Dimov
Nop-Templates.com