Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function bottom_admin_bar_css() {
- echo "
- <style type='text/css'>
- * html body {
- margin-top: 0 !important;
- }
- body.admin-bar {
- margin-top: -28px;
- padding-bottom: 28px;
- }
- body.wp-admin #footer {
- padding-bottom: 28px;
- }
- #wpadminbar {
- top: auto !important;
- bottom: 0;
- }
- #wpadminbar .quicklinks .menupop ul {
- bottom: 28px;
- }
- </style>
- ";
- }
- add_action('admin_head', 'bottom_admin_bar_css');
- add_action('wp_footer', 'bottom_admin_bar_css');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement