Created
November 17, 2014 22:34
-
-
Save tuxracer/397306a1459d7f229e69 to your computer and use it in GitHub Desktop.
unfix headers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var $ = window.jQuery; | |
if ($) { | |
$('body').find('div,header').each(function () { | |
var $el = $(this); | |
if ($el.css('position') === 'fixed' && $el.css('top') === '0px') { | |
$el.css('position', 'relative'); | |
} | |
}); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment