GetSimple Support Forum
Fixed menu at the top - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Fixed menu at the top (/showthread.php?tid=13774)



Fixed menu at the top - Domi - 2020-04-03

Maybe a stupid question from a newbie ...:

how can I make a menu that stays always on top of the page when this page is scrolling ? any theme or plugin available for that ?

thanks in advance,
Domi.


RE: Fixed menu at the top - Felix - 2020-04-03

No need for plugin, you can do this with simple css

To create a fixed top menu, use position:fixed and top:0.

Note that the fixed menu will overlay your other content,
so, add a margin-top (to the content) that is equal or larger
than the height of your menu.

Starting css example:

.navbar {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
}


RE: Fixed menu at the top - Timbow - 2020-04-03

(2020-04-03, 17:52:03)Domi Wrote: Maybe a stupid question from a newbie ...:

how can I make a menu that stays always on top of the page when this page is scrolling ? any theme or plugin available for that ?

thanks in advance,
Domi.

This theme is one of several with menus like that - GS Theory 
In use for this site:

http://www.parsonagefarm.uk/