Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$(document).ready(function() {
if ($("#panel").length != 0) {
$('.header').css('position','relative');
$('.page-padding').css('padding-top','0');
} else {
$('.header').css('position','fixed');
$('.page-padding').css('padding-top','84px');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment