The sticky menu has been built the same way as the one called 'Easy Mega Menu'. The submenus have initially a height of 0px. When the group buttons are clicked on, they get a height of 'auto' to show the submenu items. As soon as the mouse leaves those buttons again, the height gets back to none.
The menu har a top picture (can be swapped for a logo or something else), and when scrolling down the page this picture will be scrolled out of sight, but the menu will stay visible at the top. However, this will kick in only when the viewport is wider than 670px. That is to enable scrolling the menus on devices like smart-phones.
In order to enable scrolling at all, the page has to have enough content to make it scroll. The best thing is to use the container '.rest-of-page' (where this text is) and pop your page contents in there. Then you don't risk interfering with the menu. And you can set a min-height on that container, like e.g. 100vh.
If you don't want to have the menu bar go right across the page, you can change the width of the class '.full-page' (line 6 in the 'sticky-mega-menu.css).
If you need more pages, you'll have to to create them yourself. A good idea is to start by duplicating the index page.
The sticky menu has been built the same way as the one called 'Easy Mega Menu'. The submenus have initially a height of 0px. When the group buttons are clicked on, they get a height of 'auto' to show the submenu items. As soon as the mouse leaves those buttons again, the height gets back to none.
The menu har a top picture (can be swapped for a logo or something else), and when scrolling down the page this picture will be scrolled out of sight, but the menu will stay visible at the top. However, this will kick in only when the viewport is wider than 670px. That is to enable scrolling the menus on devices like smart-phones.
In order to enable scrolling at all, the page has to have enough content to make it scroll. The best thing is to use the container '.rest-of-page' (where this text is) and pop your page contents in there. Then you don't risk interfering with the menu. And you can set a min-height on that container, like e.g. 100vh.
If you don't want to have the menu bar go right across the page, you can change the width of the class '.full-page' (line 6 in the 'sticky-mega-menu.css).
If you need more pages, you'll have to to create them yourself. A good idea is to start by duplicating the index page.
Download the component.