# Fix for your navigation pane 2

**URL:** <https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310>\
**Category:** Community Content\
**Created:** [November 25, 2020, 11:36am UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310 "2020-11-25T11:36:54Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Rosenkreuz1979](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/rosenkreuz1979/32/61425_2.png) [@Rosenkreuz1979](https://community.gemsofwar.com/u/Rosenkreuz1979)\
**Post date:** [December 7, 2020, 5:07pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/25 "2020-12-07T17:07:48Z")

</div>

There you go. It is a little “Glitchy”, but makes its work.

```
// ==UserScript==
// @name GoW Forum Fixed Header
// @namespace gowfixes
// @version 1.0
// @description By default, the header on the forums disappears on scroll. This is an issue on posts with many comments where you need access to the header.
// @author Rosenkreuz1979 and Snooj
// @match https://community.gemsofwar.com/*
// @grant none
// ==/UserScript==

(function() {
    'use strict';

    var style = document.createElement("style");
    style.type="text/css";
    style.innerHTML = "#ember5 { position: relative; margin: auto; z-index: 1000; width: 100% } #ember5.fixed { position: fixed; transition:3s; } .timeline-container {position:fixed; top:270px;} .timeline-container.fixed {top:70px; transition:2s;} .timeline-docked-bottom {top:-300px!important; transition: 3s;}"
    document.getElementsByTagName("head")[0].appendChild(style);

    var navwin = $(window);
    var fxel = $("#ember5");
    var timeline=$(".timeline-container");
    var eloffset = fxel.offset().top;

    navwin.scroll(function() {
        if (eloffset < navwin.scrollTop()) {
            fxel.addClass("fixed");
            timeline.addClass("fixed");
        } else {
            fxel.removeClass("fixed");
            timeline.removeClass("fixed");
        }
    });
})();

```

---

_[View the full topic](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310)._
