Closed (outdated)
Project:
Google Translate
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2010 at 15:35 UTC
Updated:
13 Feb 2022 at 20:49 UTC
Jump to comment: Most recent
Comments
Comment #1
startd commentedComment #2
nairb commentedadmin_menu.css adds 20px to the top margin of the body:
body.admin-menu {
margin-top: 20px !important;
}
The Google Translate JavaScript throws inline css into the body tag: "position: relative; min-height: 100%; top: 40px;"
By adding the relative positioning to the body, the top margin bumps the admin menu over the content. I have found that as long as the Google Translate js is being loaded, whether the page is being translated or not, the body position is set to relative.
Add this to your page css to adjust the admin menu's positioning:
#admin-menu {
margin-top: -20px;
}
You may also want to add "position: relative" to your body declaration so the menu appears correct before the translate js is loaded too.
Brian
Comment #3
avpadernoI am closing this issue, as Drupal 6 is now not supported.