diff options
Diffstat (limited to 'modules/toolbar/toolbar.module')
-rw-r--r-- | modules/toolbar/toolbar.module | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index 396c50f93..fa0782a7e 100644 --- a/modules/toolbar/toolbar.module +++ b/modules/toolbar/toolbar.module @@ -151,6 +151,16 @@ function toolbar_preprocess_html(&$vars) { } /** + * Implements hook_preprocess_toolbar(). + * + * Adding the 'overlay-displace-top' class to the toolbar pushes the overlay + * down, so it appears below the toolbar. + */ +function toolbar_preprocess_toolbar(&$variables) { + $variables['classes_array'][] = "overlay-displace-top"; +} + +/** * Implements hook_system_info_alter(). * * Indicate that the 'page_top' region (in which the toolbar will be displayed) |