Since upgrading from 5.0 dev to 5.0 release, the main navigation menu does not adjust its position when the admin menu is displayed. It may be that I've incorrectly merged the release changes into my build but I don't think so.

To fix the issue, a 'position: relative;' needs to be added to #main. Then the comment below about positioning the navigation relative to #main's padding in responsive-sidebars.sccs is correct:

* Navigation bar
    top: 0; /* Move the navbar up inside #main's padding. */
#2 zen-make-main-relative-1554848-2.patch3.25 KBbluehut


JohnAlbin’s picture

Priority:Normal» Critical


I had to update to Zen Grids 1.1 in this issue: #1546800: box-shadow doesn't work on grid contained elements and that included this bug fix:

And I didn't properly test this. My navigation bar hid underneath the admin toolbar and I totally didn't notice it.

Nigel, how would you like to roll a patch to fix this? position: relative needs to be added to the layout files.

bluehut’s picture

new3.25 KB

I patched the generated CSS as well for good measure!

Argus’s picture

Yeah seems to work fine that patch.

JohnAlbin’s picture

Title:Navigation vertical position does not compensate for administration menu.» Vertical positioning of navigation is wrong/too high
Version:7.x-5.0» 7.x-5.x-dev
Status:Active» Fixed

Congrats, Nigel! You've got your first Drupal commit attribution.


Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.