Last active
April 25, 2017 00:39
-
-
Save AJ-Acevedo/6643788 to your computer and use it in GitHub Desktop.
WordPress 3.6 and Bootstrap 3 Admin bar overlap fix
This file contains hidden or 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
// This fixes the WordPress admin-bar 28px overlap issue with Bootstrap 3. | |
body.admin-bar .navbar { | |
position:fixed; | |
top: 28px; | |
z-index: 1000; | |
height: 40px; | |
// If the above does not work try this if your nav is wrapped in .header | |
body.admin-bar .header { | |
position:fixed; | |
top: 28px; | |
z-index: 1000; | |
height: 40px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment