After updating Discourse, top header moves down with scrolling

I updated my forum today and this bug popped up.

When you scroll down, that top bar comes down with you. Any ideas how I can fix this?

1 Like

We made some updates to the way the header works. There are a couple CSS changes you’ll need to make to fix it.

You’ll need to remove position: fixed; from the header here:

header.d-header {
  position: fixed;
}

You’ll also need to remove this top padding:

#main {
  padding-top: 120px;
}

After making those changes you might want to add some margin to #main-outlet

#main-outlet {
  margin-top: 35px;
}

That should get things back to where they were.

7 Likes