Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The fixed position of the bootstrap's navbar is on top of admin_menu, what workaround could solve this?
Comments
Comment #1
Docc CreditAttribution: Docc commentedWell the whole admin menu doesn't seem to play nice with jquery 1.7+
Also the fixed top bar is going away so that problem is going to solve itself.
Comment #2
siilak CreditAttribution: siilak commentedThere is solution for this in css file
.navbar-fixed-top {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 500; // to show the menu sequence
}
Comment #3
erbzh CreditAttribution: erbzh commentedAdmin module seems to work after installation of jQuery Update (with jQuery v 1.7.1 enabled)
and the code below added in themes/twitter_bootstrap/includes/modules/admin.inc to prevent submenus being expended.
This code might be not sufficient if the admin toolbar includes other menus than 'management' and 'navigation'.
Comment #4
eusonic CreditAttribution: eusonic commentedI simply added:
This is for the taller admin menu style. If you're using the shorter style you will need to adjust it a little.
The z-index was changed to prevent the menu from covering the admin overlay.
Comment #5
pico34 CreditAttribution: pico34 commentedThanks siilak and eusonic, both solutions works
Comment #6
ressa CreditAttribution: ressa commentedThanks @eusonic, this works and could be committed? Or what does "Also the fixed top bar is going away so that problem is going to solve itself." mean?
Comment #7
andregriffin CreditAttribution: andregriffin commentedComment #8
siteogra CreditAttribution: siteogra commentedand hide shadow from admin menu
Comment #9
giorgio79 CreditAttribution: giorgio79 commentedAlmost two years and the fixed navbar is still around. Any plans to remove it, so admin menu can work? :)
Comment #10
markhalliwellIt works just fine in the 2.x branch.
Comment #11
giorgio79 CreditAttribution: giorgio79 commentedAh thx Mark. Yep, I am facing this issue with Bootswatch. Will post this in that issue.
Comment #12
PascalAnimateur CreditAttribution: PascalAnimateur commentedHere's the way I do it with adminimal_admin_menu 1.x-dev for all types of navbar (default, static top, fixed top / bottom). I try to keep the same spacing between the navbar and admin_menu (20px) for all screen sizes. Also, with a fixed top navbar, when adminimal_admin_menu switches to slicknav it gets displayed below the navbar, but this is consistent with the navbar being always fixed on top of the screen (normal admin_menu is still on top on bigger screens)
adminimal_admin_menu 1.x-dev has a larger font size and is responsive (breakpoint at 1024px), I prefer it over 'vanilla' admin_menu.
Comment #13
sopranos CreditAttribution: sopranos commentedbootstrap has so many issues with other modules.....it does not open admin menu items in overlaly, so i get dimed black screen and no content......
that happens if i put jquery above 1.7......
if i keep it at 1.7 ckeditor does not work
who make this theme so buggy is what i wonder