WordPress.org

Ready to get started?Download WordPress

Forums

Ozh' Admin Drop Down Menu
Tempoary fix for MP6 Plugin (1 post)

  1. ianarmstrong
    Member
    Posted 10 months ago #

    This is for anyone who is using beta components like MP6, which I think looks a whole lot more up to date than the original admin style.

    Ozh works perfectly in full desktop mode under MP6 but when it jumps into responsive (moby6.css), the whole interface misbehaves. The flyout that is supposed to show the left hand menu in mobile causes a 10px pad on the left side of the admin and the menu button brings up a blank div.

    To deal with this, we enqueue the following to our admin styles:

    /* Temporary fix for OZH Menu - if upgraded for MP6 will need to be removed! */

    @media screen and (max-width: 782px) {
        #wpcontent, .auto-fold #wpcontent { padding-left: 0 !important; }
        #moby6-toggle { display: none !important; }
        #wpadminbar #wp-admin-bar-root-default { padding-left: 0 !important; }
    }

    Sorry about the lazy important declarations. You can try using specificity if you prefer, but the admin styles enqueue before the plugin styles so it was just the easiest route being an end-point style.

    Ozh - any chance we can get a patch before MP6 iterates its way into production?

    http://wordpress.org/extend/plugins/ozh-admin-drop-down-menu/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 10 months ago by ianarmstrong
  • This topic is not resolved
  • WordPress version: 3.5.2