Created
March 8, 2018 08:15
-
-
Save jauhari/1a4b5dd8e5cd71cf8ddca4d7c5d4c651 to your computer and use it in GitHub Desktop.
And Here is the CSS for Moving WordPress Admin Bar to the Bottom
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
body.admin-bar #wphead { | |
padding-top: 0; | |
} | |
#wpadminbar { | |
top: auto !important; | |
bottom: 0; | |
position: fixed; | |
} | |
#wpadminbar .quicklinks .menupop ul { | |
position: absolute; | |
bottom: 32px; | |
background-color: #23282d; | |
} | |
#wpadminbar .quicklinks .menupop ul + ul { | |
bottom: 70px; | |
} | |
#wpadminbar .quicklinks .menupop ul ul { | |
transform: translateY(62px); | |
-webkit-transform: translateY(62px); | |
-ms-transform: translateY(62px); | |
} | |
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary { | |
bottom: 64px; | |
position: absolute; | |
} | |
@media screen and (max-width: 782px) { | |
#wpadminbar .quicklinks .menupop ul { | |
bottom: 46px; | |
} | |
#wpadminbar .quicklinks .menupop ul + ul, | |
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary { | |
bottom: 86px; | |
} | |
#wpadminbar .quicklinks .menupop ul ul { | |
transform: translateY(92px); | |
-webkit-transform: translateY(92px); | |
-ms-transform: translateY(92px); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment