Last active
December 6, 2020 20:46
-
-
Save devwax/7e1ce7c58a3332c85196cfb68260dc94 to your computer and use it in GitHub Desktop.
Prevent admin bar overflow with CSS on frontend
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
/* This only applies outside of /wp-admin/ i,e, on frontend while viewing public pages, etc. */ | |
body.admin-bar { | |
#wpadminbar { | |
overflow: hidden; | |
} | |
} | |
/* WP Bakery padding-top */ | |
body.logged-in { | |
.vc_row.wpb_row.vc_row-fluid.vc_custom_123456789 { | |
padding-top: 0 !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment