# Slight CSS bug when using a custom global navigation bar

**URL:** <https://meta.discourse.org/t/slight-css-bug-when-using-a-custom-global-navigation-bar/45109>\
**Category:** Bug\
**Created:** [1 يونيو 2016، 9:43م UTC](https://meta.discourse.org/t/slight-css-bug-when-using-a-custom-global-navigation-bar/45109 "2016-06-01T21:43:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [1 يونيو 2016، 10:05م UTC](https://meta.discourse.org/t/slight-css-bug-when-using-a-custom-global-navigation-bar/45109/5 "2016-06-01T22:05:35Z")

</div>

That commit you link to is definitely not the cause, the cause is the fact that .d-header is using `position:fixed`, due to getting the class `docked`

This seems related to this change by @eviltrout (maybe he can look deeper, but it seems to be due to getting a class of `docked` when you shouldn’t… ?)  
[https://github.com/discourse/discourse/commit/fa2bffd618f1b5336cb9ba0f4e0dd74780f8edc5](https://github.com/discourse/discourse/commit/fa2bffd618f1b5336cb9ba0f4e0dd74780f8edc5)

---

_[View the full topic](https://meta.discourse.org/t/slight-css-bug-when-using-a-custom-global-navigation-bar/45109)._
