Last active
December 17, 2017 22:58
-
-
Save paullacey78/8443480b82fc0dd5e5e8d9403e191473 to your computer and use it in GitHub Desktop.
Move the wp-admin bar to the bottom of the screen in mobile view
This file contains 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
/* Move the wp-admin bar to the bottom when in mobile view */ | |
@media(max-width:782px) { | |
#wpadminbar { | |
bottom: 0; | |
position: fixed; | |
top: initial; | |
} | |
body.logged-in.admin-bar { | |
margin-top: -46px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment