WordPress.org

Forums

Adminimize
[resolved] Since wordpress 3.4, a white bar appears in place of hidden admin bar (5 posts)

  1. oomskaap
    Member
    Posted 2 years ago #

    the admin bar is gone, but in its place is just an empty white space. As in the Dashboard menu etc stars at about +30px margin from the top.

    http://wordpress.org/extend/plugins/adminimize/

  2. Harish Chouhan
    Member
    Posted 2 years ago #

    Yes has happened on all my sites too.

  3. MrDamasajaga
    Member
    Posted 2 years ago #

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

  4. MrDamasajaga
    Member
    Posted 2 years ago #

    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>';"
    					)
    				);
    			}
  5. Frank Bueltge
    Member
    Plugin Author

    Posted 2 years ago #

    I will update this in the next verison 1.8.1

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Adminimize
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.