How to Float WordPress Admin Menu and Make it Sticky

Share This Article:

Dont like to scroll for admin menu in WordPress Dashboard ? Then Float Admin Menu and save scrolling time by installing this free plugin or by using the code. WordPress admin menu includes everything to manage your blog in just few clicks of mouse. One problem with that menu is, it doesn’t float or stick to a fixed position and you need to scroll from bottom to top of page to access it.

how-to-float-wordpress-admin-menu

A ticket has been already raised at WordPress core and the issue is not resolved. In this awesome WordPress community, we got many contributing developers and  Till Krüss is the one who felt more responsible. He developed a plugin with options panel, that helps to Float WordPress Admin Menu.

Float WordPress Admin Menu Using a Free Plugin

Here is a guide on how to install a WordPress Plugin and download Floating Admin Menu

float-wordpress-admin-menu

Navigate to you User Profile on WordPress dashboard and Float Admin menu check-box will be available. Tick it and save your profile. Now, its time to it test sticky admin menu and say good bye to normal navigation menu.

The best part of this plugin is, it tests the browser viewport and floats the admin menu accordingly. Just a perfect one and support for mobile devices is not yet included.

Float WordPress Admin Menu Using Code in Functions

If you dont like to use more plugins or if you think plugins will effect page loading speed then you can use this below code snippet. Just add this code to functions.php file in your theme and update it.

function fixed_admin_menu() { ?>
<style>
#adminmenuwrap {position: fixed !important;}
</style>
<?php
}
add_action('admin_footer','fixed_admin_menu');

This code will over write the existing  CSS property and helps to float WordPress admin menu without the need of any plugin.

Only issue on using a Floating Admin Menu, is some menu items will not be visible in-case if you are using Custom post Types. Earlier, we have discussed on how to change background color of posts in WordPress admin and hope it will be useful for you.

If you think it is necessary to have a Floating Admin Menu in next WordPress update, speak your voice by posting a comment here.

 

Genesis is the most flexible WordPress theme framework that comes with tons of options. We have been using Genesis on all of our blogs and recommending the same to you. Every bit of it is coded according to the standards. Give it a try!

Comments

  1. Pavan Somu says:

    Seems this is really a time saver for WordPress users.

    • WPSquare says:

      Yes Pavan, hope WordPress will include this option in next update.

  2. PrIyAnGsHu says:

    That’s a nice trick Bharat. Let me install this plugin and make my admin bar floating, so that I can access to my administrating areas so much quickly. Thanks for sharing this awesome guide Bharat.

  3. Saad says:

    I mostly dont mess with any code of wordpress this tutorial was very easy to follow so I did thank you guys :)

  4. Deepak says:

    Thats great to see this post which can highly evaluate mine way of blogging.

  5. P36p says:

    Hi Bharath,
    Thanks so much for this snippet (I was looking for this to not modify the CSS and to not add another plugin)!
    But I do have an issue (maybe it’s the one you mentionned) I can’t acess to the menu items because it’s behind the content, The hover on the menu items it’s not accesible anymore.
    Do you have an idea to make it works?

Speak Your MindComments Policy →

*

Looking for More Awesomeness?

Read previous post:
organize-giveaway-using-punchtab
How to Organize a Giveaway using PunchTab

Detailed guide on How to Organize a Giveaway using PunchTab. If you are looking forward to organize a giveaway on...

Close