WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I placed my adminbar in the dashboard and front end on the bottom, and I am having trouble on figuring out how to make the dropdown menus dropup.

Also when the site is viewed in landscape on mobile the adminbar stays on the bottom and on top of the content which is great. But when I flip the phone normal the admin bar stays in 1 spot when I scroll down. It doesnt stay on the bottom and on top of the content.

I'm trying to fix these annoyances.

share|improve this question

you can move admin toolbar to bottom using this function add to functions.php in current themes:

function fb_move_admin_bar() {
    echo '
    <style type="text/css">
    body { 
    margin-top: -28px;
    padding-bottom: 28px;
    body.admin-bar #wphead {
       padding-top: 0;
    body.admin-bar #footer {
       padding-bottom: 28px;
    #wpadminbar {
        top: auto !important;
        bottom: 0;
    #wpadminbar .quicklinks .menupop ul {
        bottom: 28px;
// on backend area
add_action( 'admin_head', 'fb_move_admin_bar' );
// on frontend area
add_action( 'wp_head', 'fb_move_admin_bar' );

or using this plugins: http://wordpress.org/extend/plugins/stick-admin-bar-to-bottom/

share|improve this answer
I already put the adminbar on the bottom. I need the menus for sites, myaccount to go up instead of drop down. And on mobile when a phone is being held normal for the adminbar to stay at the bottom when the page is scrolled. – user54097 Jun 12 '14 at 16:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.