I am developing a custom theme as a ZEN-Subtheme at the moment.
While in ZEN the class="admin-menu" is assigned to the body, in my theme it isn't.
The Administration Menu appears, but isn't move down 20px.

Any idea how to solve this issue?

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Either the margin top is disabled in admin_menu's settings or something in your site invokes admin_menu_suppress() so it admin menu isn't loaded at all.

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Sorry, without further information this issue can only be marked as won't fix.

Feel free to re-open this issue if you want to provide further information. Thanks.

heathergaye’s picture

Possible solution:

I had the same problem, but only on certain pages. I traced back my problem to a javascript error in another module - admin_menu uses js to add the body class (and subsequently adjust the margin), so check that you're not getting any other js errors that will stop execution.

brightbold’s picture

Thanks heathergaye for that tip - that solved my problem!

pixeldroid’s picture

it's 4 years later and I just had the same issue. JS error was showing up in the console:

Uncaught TypeError: Cannot read property 'msie' of undefined admin_menu.js:223

There was no issue while in admin theme (Seven). This led me to check jQuery update - it was set to 1.10 for front end and 1.7 for backend. After I rolled back to 1.8 everything was fine.

Hopefully this will help someone else.

murraybiscuit’s picture

Issue summary: View changes

thanks pixeldroid. the deprecated jquery $.browser is messing up a lot of stuff...