Support » Plugin: Ozh' Admin Drop Down Menu » Tempoary fix for MP6 Plugin

  • 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?

  • The topic ‘Tempoary fix for MP6 Plugin’ is closed to new replies.