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