In Drupal 8, how can I stop the admin toolbar from hiding my fixed navbar when I am logged in?

closed as too broad by Adrian Cid Almaguer, Pierre.Vriens, DRUPWAY, mradcliffe, kiamlaluno Jun 4 '17 at 11:35

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


You can move your nav a bit below when you have an admin-logged in, try this :

body.admin-menu .navbar-fixed-top {
top: 30px; }

Better yet, use Adminimal Theme (Admin Theme) which should automatically take care of everything.

  • Thanks for your answer, I've tried both of these options but neither worked. – beanie Jun 1 '17 at 17:41
  • @dharma is correct that you will need to set the value of top to something. to take account for the toolbar. The Bootstrap theme (drupal.org/project/bootstrap) handles this pretty nicely, check out the toolbar.less file in starterkits directory. It changes the fixed menu's top value depending on various body classes. – rjl Jun 1 '17 at 19:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.