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