Author Topic: Sticky Menu + Show_menu2  (Read 525 times)

Offline svsanchez

  • Posts: 419
Sticky Menu + Show_menu2
« on: September 28, 2016, 11:18:38 PM »
Hello everyone, I would like to create a site with a "Sticky" Show_menu2 menu at the top, like the following examples:

- https://www.grovemade.com/
- https://www.visage.co/
- http://www.prollective.com/

I found another topic but it was too old and apparently was more centered in making a sticky menu WITHOUT Show_menu2.

Thanks in advance for any help!

Offline Ruud

  • WebsiteBaker Org e.V.
  • **
  • Posts: 3571
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Sticky Menu + Show_menu2
« Reply #1 on: September 28, 2016, 11:43:47 PM »
To make an element (like a div containing a menu) "sticky" just use the css position: fixed;
The nice effects like opacity changes or the height of the menu on user scroll is done through javascript (jQuery).

A good start could be found here: http://www.w3schools.com/howto/howto_css_fixed_menu.asp