Discourse Meta
Stick header in proper scroll position when having a custom fixed topbar on top of it
Product Support
notriddle
(Michael Howell)
October 26, 2017, 8:15pm
2
Add this to your custom CSS:
.d-header { position: fixed !important; top: 24px !important; }
show post in topic
Related topics
Topic
Replies
Views
Activity
After updating Discourse, top header moves down with scrolling
Bug
1
654
December 14, 2020
Elastic scrolling on ipad causes header to unstick from top of window
UX
tablet
4
1730
September 21, 2015
How to remove sticky top bar?
Product Support
4
2205
May 22, 2020
Keep Brand Header static instead of scrolling?
Development
css
,
brand-header
4
179
May 8, 2018
Slight CSS bug when using a custom global navigation bar
Bug
17
2665
June 4, 2016