Fixed Navigation Bar |
Post Reply |
Author | ||
Chris OE
Admin Group Joined: Jan 22 2013 Location: New York Status: Offline Points: 186 |
Post Options
Thanks(1)
Posted: Aug 06 2013 at 6:33pm |
|
Hello fellow openElementers,
Here is an easy to implement script for adding a fixed navigation bar to your website. This means that it will always stay fixed at the top of the screen even as you scroll down past other content. It can also be tweaked to become a left or right side nav bar, or even a footer that's always on screen. This is an HTML/CSS technique... Other solutions involving javascript and/or jQuery are also available. http://www.thecodepress.info/2013/01/fixed-navigation-bar-in-css-html.html For a barebones version, enter this into a regular visible Codeblock. Change categories as necessary - you can even use icons if you want:
Then, in a Hidden Codeblock, choose CSS as the script type and enter:
You can change styles, colors and behavior as you see fit.
|
||
rob42
Newbie Joined: Mar 12 2016 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
|
Hi. This is such a simple and effective technique, very clever ; just what I was looking for. Thank you so much.
Edited by rob42 - Mar 12 2016 at 10:57am |
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |