# Adjust visibility calculation for custom header?

**URL:** <https://meta.discourse.org/t/adjust-visibility-calculation-for-custom-header/25340>\
**Category:** Feature\
**Created:** [February 17, 2015, 11:33pm UTC](https://meta.discourse.org/t/adjust-visibility-calculation-for-custom-header/25340 "2015-02-17T23:33:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![matt\_mcneil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/matt_mcneil/32/81135_2.png) [@matt\_mcneil](https://meta.discourse.org/u/matt_mcneil)\
**Post date:** [February 17, 2015, 11:33pm UTC](https://meta.discourse.org/t/adjust-visibility-calculation-for-custom-header/25340/1 "2015-02-17T23:33:19Z")

</div>

We have a custom fixed nav bar (above Discourse’s native d-header nav) that takes up about 60px on the top of the screen.  
 ![](https://global.discourse-cdn.com/meta/original/3X/e/6/e660c0d4e796b06a273c29a1c8157b70173ab1a4.png)

Is there any way to let Discourse know about this vertical shift when it’s calculating which post is currently visible? I ask because at least two nice features end up being slightly broken (post URL updating while scrolling and the timing of the switch from full header to compressed topic header) because of the difference between what Discourse thinks is visible and what’s _actually_ visible.

---

_[View the full topic](https://meta.discourse.org/t/adjust-visibility-calculation-for-custom-header/25340)._
