# 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:** 20\
**Page:** 1

<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:** [November 25, 2020, 11:36am UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/1 "2020-11-25T11:36:54Z")

</div>

here’s the fix for the navigation issue:

add to stylesheet (.css) the following:

#ember5 {  
position: relative;  
margin: auto;  
z-index: 1000;  
width: 100%;  
}  
#ember5.fixed {  
position: fixed;  
}

In the bootstrap.js (or anywhere your BB takes the scripts from) add:

//fixed navbar script//  
var navwin = $(window);  
fxel = $(‘#ember5’);  
eloffset = fxel.offset().top;

navwin.scroll(function() {  
if (eloffset \< navwin.scrollTop()) {  
fxel.addClass(“fixed”);  
} else {  
fxel.removeClass(“fixed”);  
}  
});  
//fixed navbar script end//

After that the initial topic page will look like:

 ![initial_page.PNG](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/2/2/225d2448e83201faf7558c44476a0546d5669835.jpeg)

but after scrolling the content down the navbar will remain “sticky”:

 ![scrolled_down.PNG](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/7/6/76e6438b7a78494ebd1a150977888ccdf355e5ac.jpeg)

So at least user could navigate to the content of the forum and see their notifications without a need to scroll to the very top of a longread.

P.S. I will be creating the topic for a fix every day until you fix it.

---

<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:** [November 25, 2020, 1:29pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/2 "2020-11-25T13:29:05Z")

</div>

It’s funny how everyone who runs this forum does not give a crap about their users…

---

<div class="post-metadata">

**Author:** ![Sytro](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Sytro](https://community.gemsofwar.com/u/Sytro)\
**Post date:** [November 25, 2020, 2:07pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/3 "2020-11-25T14:07:43Z")

</div>

forum admin might be AFK for some time…

---

<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:** [November 25, 2020, 2:10pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/4 "2020-11-25T14:10:47Z")

</div>

Current theme is dated 2019… He might have been sooo AFK =)

---

<div class="post-metadata">

**Author:** ![Sytro](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Sytro](https://community.gemsofwar.com/u/Sytro)\
**Post date:** [November 25, 2020, 2:14pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/5 "2020-11-25T14:14:20Z")

</div>

yes, but this theme worked quite good for few months and went bogus few weeks ago…  
I highly doubt it was without any “changes” to the code…

---

<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:** [November 25, 2020, 2:15pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/6 "2020-11-25T14:15:20Z")

</div>

Cannot agree more, but the fix is already there, it takes 3 minutes to implement and finetune it.

---

<div class="post-metadata">

**Author:** ![Snooj](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/snooj/32/65852_2.png) [@Snooj](https://community.gemsofwar.com/u/Snooj)\
**Post date:** [November 25, 2020, 3:04pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/7 "2020-11-25T15:04:09Z")

</div>

For anyone that wants to make this permanent, make it a tampermonkey script. I definitely will. Thank you @Rosenkreuz1979!

To defend the GoW devs, and as a dev architect/manager myself, although this looks like a 3 minute fix it’s not. This fix might break something else that relies on the same code. There’s testing, bug tracking, etc, to work with. There’s also timelines and commitments to other issues/enhancements. They also likely don’t release updates every single day to the website and instead have a schedule on when that happens.

---

<div class="post-metadata">

**Author:** ![Snooj](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/snooj/32/65852_2.png) [@Snooj](https://community.gemsofwar.com/u/Snooj)\
**Post date:** [November 25, 2020, 3:42pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/8 "2020-11-25T15:42:31Z")

</div>

Not sure if I can attach a file in the forums. Here’s the script for TamperMonkey to fix this permanently. @Rosenkreuz1979, feel free to put this in your post so anyone who finds this thread can use it.

```
// ==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; }"
    document.getElementsByTagName("head")[0].appendChild(style);

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

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

```

---

<div class="post-metadata">

**Author:** ![NerdieBirdie](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/nerdiebirdie/32/103793_2.png) [@NerdieBirdie](https://community.gemsofwar.com/u/NerdieBirdie)\
**Post date:** [November 25, 2020, 6:07pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/9 "2020-11-25T18:07:31Z")

</div>

I can see the top bar without this script… am I missing something?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/0/5/05128ced833c870ecff5b6292081592fa525cb6c.jpeg)

---

<div class="post-metadata">

**Author:** ![Snooj](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/snooj/32/65852_2.png) [@Snooj](https://community.gemsofwar.com/u/Snooj)\
**Post date:** [November 25, 2020, 6:28pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/10 "2020-11-25T18:28:45Z")

</div>

> [@NerdieBirdie](#):
>
> I can see the top bar without this script… am I missing something?

Sorcery. What browser are you using? Here’s what I see without the script:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/3/6/36317d4aaa400195f712b0e586088cadf4cf98c7.jpeg)

---

<div class="post-metadata">

**Author:** ![NerdieBirdie](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/nerdiebirdie/32/103793_2.png) [@NerdieBirdie](https://community.gemsofwar.com/u/NerdieBirdie)\
**Post date:** [November 25, 2020, 6:32pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/11 "2020-11-25T18:32:35Z")

</div>

Just regular Chrome on Windows 10 😅

---

<div class="post-metadata">

**Author:** ![Hisspa](https://avatars.discourse-cdn.com/v4/letter/h/ad7895/32.png) [@Hisspa](https://community.gemsofwar.com/u/Hisspa)\
**Post date:** [November 25, 2020, 6:54pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/12 "2020-11-25T18:54:31Z")

</div>

Are you using the 2018 option that you can select here? I’ve reverted to using this after a suggestion on the forum. It shows the top bar. The 2019 doesn’t at the moment, for most people.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/c/a/cadecb0d4358c5279a9ff2c786f943bcc98c3043.png)

---

<div class="post-metadata">

**Author:** ![NerdieBirdie](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/nerdiebirdie/32/103793_2.png) [@NerdieBirdie](https://community.gemsofwar.com/u/NerdieBirdie)\
**Post date:** [November 25, 2020, 7:07pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/13 "2020-11-25T19:07:38Z")

</div>

Aha, yep, was using 2018. Didn’t realize a newer version existed!

---

<div class="post-metadata">

**Author:** ![Fleg](https://avatars.discourse-cdn.com/v4/letter/f/5e9695/32.png) [@Fleg](https://community.gemsofwar.com/u/Fleg)\
**Post date:** [November 25, 2020, 8:09pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/14 "2020-11-25T20:09:01Z")

</div>

Thanks for this. For weeks now I’ve been having issues. The worst issue was not being taken to first unread post when clicking on a thread, it would instead take me to the very bottom of the page and I would have to scroll up to find my first unread post…super annoying.

---

<div class="post-metadata">

**Author:** ![Snooj](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/snooj/32/65852_2.png) [@Snooj](https://community.gemsofwar.com/u/Snooj)\
**Post date:** [November 25, 2020, 8:19pm UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/15 "2020-11-25T20:19:13Z")

</div>

> [@Hisspa](#):
>
> Are you using the 2018 option that you can select here? I’ve reverted to using this after a suggestion on the forum. It shows the top bar. The 2019 doesn’t at the moment, for most people.

Omg you’re my hero. Forget the script, this is much better. As @Fleg pointed out, having to scroll up on every post is annoying. I’m using 2018 now.

---

<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:** [November 26, 2020, 2:56am UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/16 "2020-11-26T02:56:01Z")

</div>

Have you checked its working?

---

<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:** [November 26, 2020, 3:17am UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/17 "2020-11-26T03:17:03Z")

</div>

> [@Snooj](#):
>
> feel free to put this in your post so anyone who finds this thread can use it

Checked with the Tampermonkey on Chrome - it does not work, it cannot fetch and recognize jQuery instance ‘$’

---

<div class="post-metadata">

**Author:** ![NerdieBirdie](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/nerdiebirdie/32/103793_2.png) [@NerdieBirdie](https://community.gemsofwar.com/u/NerdieBirdie)\
**Post date:** [November 26, 2020, 4:09am UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/18 "2020-11-26T04:09:54Z")

</div>

Works for me with Tampermonkey on Chrome with Windows 10

---

<div class="post-metadata">

**Author:** ![Auspex](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/auspex/32/63846_2.png) [@Auspex](https://community.gemsofwar.com/u/Auspex)\
**Post date:** [November 26, 2020, 4:15am UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/19 "2020-11-26T04:15:46Z")

</div>

Thank you for sharing this! I can finally browse the forum comfortably again 👍

---

<div class="post-metadata">

**Author:** ![Snooj](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/snooj/32/65852_2.png) [@Snooj](https://community.gemsofwar.com/u/Snooj)\
**Post date:** [November 26, 2020, 4:37am UTC](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310/20 "2020-11-26T04:37:08Z")

</div>

> [@Rosenkreuz1979](#):
>
> Have you checked its working?

Weird. It works for me in Chrome.

[Next page](https://community.gemsofwar.com/t/fix-for-your-navigation-pane-2/67310.md?page=2)
