Skip to content

Instantly share code, notes, and snippets.

@KnightAlex
Created June 2, 2015 18:13
Show Gist options
  • Save KnightAlex/c7f12d492da335e31c47 to your computer and use it in GitHub Desktop.
Save KnightAlex/c7f12d492da335e31c47 to your computer and use it in GitHub Desktop.
CSS fix for wp-admin bar, for when body has relative positioning
@media (max-width: 600px) {
html #wpadminbar{top:-46px} /* wp admin bar fix, due to slide-push menu putting a relative position on the body element */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment