Fix for your navigation pane 2

Tampermonkey 4.11, cleared cache…

Nevermind, bro, I’m an idiot =) Forgot to enable tamper monkey =)

1 Like

Lol dont you love it when things don’t work for simple reasons and it takes too long to find out?

2 Likes

Is there a fix like this for the scroll thing on the right side?

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");
        }
    });
})();

Aaaaaa it’s beautiful thank you!

I’m gonna see if the devs can’t fix this proper-like. This forum is nigh-unusable as is…

8 Likes

It’s usable, but only, if you switch to 2018 theme… :roll_eyes:
would be nice if it was fixed…

1 Like

@Lyya as a small tip: both themes use the same framework, as it seems, so they have to just compare the changes to make everything work to see what has gone wrong.