Skip to content

Instantly share code, notes, and snippets.

@WiredUK
Last active August 29, 2015 14:10
Show Gist options
  • Save WiredUK/f2512272d4650d3170f1 to your computer and use it in GitHub Desktop.
Save WiredUK/f2512272d4650d3170f1 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name SE Banner Fixer
// @namespace https://gist.github.com/WiredUK
// @description Fix banner to top of window
// @include http://*.stackexchange.com/*
// @include http://superuser.com/*
// @include http://serverfault.com/*
// @include http://meta.stackoverflow.com/*
// @include http://stackoverflow.com/*
// @include http://stackapps.com/*
// ==/UserScript==
$('.topbar').css("position", "fixed");
$('.topbar').css("z-index", "100");
$('.container').css("padding-top", "20px");
@WiredUK
Copy link
Author

WiredUK commented Dec 3, 2014

Shamefully stolen (and adapted) from a script on StackApps written by Fosco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment