Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes has happened on all my sites too.

    Same here. The class “wp-toolbar” on the <html> should get removed.

    In my case the problem was in my custom theme and in the admin theme.
    Therefor I changed the code of the plugin file admin-bar.php on line 177 to:

    foreach ( array( 'wp_head', 'admin_head' ) as $hook ) {
    				add_action(
    					$hook,
    					create_function(
    						'',
    						"echo '<style>body.admin-bar #wpcontent, body.admin-bar #adminmenu { padding-top: 0px !important; } html.wp-toolbar { padding-top: 0px !important; } body.admin-bar .navbar-fixed-top { top: 0px !important; }</style>';"
    					)
    				);
    			}

    If you just need the fix for the admin theme use this:

    foreach ( array( 'admin_head' ) as $hook ) {
    				add_action(
    					$hook,
    					create_function(
    						'',
    						"echo '<style>body.admin-bar, body.admin-bar #wpcontent, body.admin-bar #adminmenu { padding-top: 0px !important; } html.wp-toolbar { padding-top: 0px !important; }</style>';"
    					)
    				);
    			}
    Plugin Author Frank Bueltge

    (@bueltge)

    I will update this in the next verison 1.8.1

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Adminimize] Since wordpress 3.4, a white bar appears in place of hidden admin bar’ is closed to new replies.