SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Sticky top bar for SMS 2.1

Started by zijO, January 24, 2017, 04:41:06 AM

Previous topic - Next topic


Wold be nice if top bar for SMF 2.1 can be set to sticky.


Well this is more into trick section but you can do it easily with adding following code to bottom of the index.css

#top_section {
position: fixed;
width: 100%;
z-index: 1001;
#header {
margin: 40px 5% 0 5%;

if you need more advanced solution, you probably do some jScript changes. But I hardly think such feature will be included inside SMF 2.1.


Thanks a lot , that's perfect.  8)
I actually did try it earlier but it didn't work because caching was on.