When the admin_menu turn on, template undock from the top to the height of admin_menu, the result is a white stripe. Firefox 17.
ps: only frontpage! admin/* - ок!

CommentFileSizeAuthor
bug_firefox.JPG15.36 KBliveflow
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

manu manu’s picture

Status: Active » Closed (works as designed)

Had this issue with admin_menu and several themes.

Here is my quick fix:

First some considerations:
- uncheck "ajust top margin" in admin_menu settings
- you should extend Tweme with a sub-theme and not directly edit the theme's files
- in this example the fix is applied only for admin user (uid 1)

in your sub-theme template.php file:

/**
 * Implements hook_preprocess_html().
 */
function subtheme_preprocess_html(&$variables) {
  if($GLOBALS['user']->uid == 1) {
    $variables['classes_array'][] = 'admin';
  }
}

And in your sub-theme CSS file:

body.admin {
  padding-top: 20px;
}

This margin is for Adminimal admin menu module, you may ajust it to 25px for Admin Menu.

manu manu’s picture

Issue summary: View changes

add qualification about frontpage