Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: zijO on January 24, 2017, 04:41:06 AM

Title: Sticky top bar for SMS 2.1
Post by: zijO on January 24, 2017, 04:41:06 AM
Wold be nice if top bar for SMF 2.1 can be set to sticky.
Title: Re: Sticky top bar for SMS 2.1
Post by: Antes on January 24, 2017, 08:18:22 AM
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.
Title: Re: Sticky top bar for SMS 2.1
Post by: zijO on January 24, 2017, 07:17:00 PM
Thanks a lot , that's perfect.  8)
I actually did try it earlier but it didn't work because caching was on.