Skip to content

Instantly share code, notes, and snippets.

@mungurs
Forked from KnightAlex/wp-admin bar CSS fix
Created May 10, 2017 14:50
Show Gist options
  • Save mungurs/0c6ef7969612e40f47e16361dfd5a933 to your computer and use it in GitHub Desktop.
Save mungurs/0c6ef7969612e40f47e16361dfd5a933 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