Black Friday: 20% off PRO Ends in Grab the deal

The WordPress admin bar is useful, but it covers the top of your website and pushes everything down while you work on it. Auto-hide gives you both: the admin bar stays out of sight and slides back in when you move the mouse to the top of the browser window.

WordPress itself can’t do this, there’s no setting for it. This guide shows how to turn it on with a free plugin.

Don’t have the plugin yet? Download Better Admin Bar for free from WordPress.org.


Turn on auto-hide

  1. Install and activate Better Admin Bar (Plugins → Add New Plugin, search for “Better Admin Bar”).
  2. Go to Settings → Better Admin Bar and open the Admin Bar tab.
  3. Under Auto-Hide Admin Bar, turn on Auto-hide the admin bar.
  4. Click Save Changes.

Open your website and move the mouse to the top of the window: the admin bar slides in. Move away and it slides out again.


Adjust the timing

  • Delay: how long the admin bar stays after the mouse leaves it. Default: 1500 ms.
  • Animation speed: how fast it slides in and out. Default: 500 ms.

A longer delay makes it easier to reach a menu item without the bar disappearing on you.


Stop the page from jumping

When the admin bar slides in, WordPress makes room for it and your page moves down a little. If you’d rather have the bar slide over the page, also turn on Remove the admin bar gap under Display Settings. More on that in how to remove the 32px gap.


Can’t find the auto-hide setting?

The auto-hide box is hidden while All users is ticked under Remove Admin Bar: there’s no admin bar left to hide. Untick it, or tick only the roles that shouldn’t see the admin bar at all.

Auto-hide only works on the frontend of your website. Inside the WordPress dashboard the admin bar stays as it is.


Still need help?

Browse the other articles or create a support ticket and we'll get back to you.