• Welcome to Simple Machines Community Forum. Please login or sign up.
December 06, 2021, 01:26:49 PM


Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

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.