thanks, that helped a bit, BUT, now my own navbar is laying above the submenus of the admin panel, although its z/index is way below the panel z-index…
The wpadmin panel overlaps my fixed navbar, so I′d like to detect it and adjust my navigation bar whenever the admin panel is displayed on the frontend.