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.
I set the navbar to fixed top with .container - body is centered but narbar persists with .container-fluid. See attached image.
I'm a newb and tried to look up if similar open issues exist but couldn't find any. Sorry if dup.
Thanks for your help!
Comment | File | Size | Author |
---|---|---|---|
fluid container navbar.jpg | 102.6 KB | Evangelo |
Comments
Comment #2
markhalliwellDid you rebuild the caches?
Comment #3
Evangelo CreditAttribution: Evangelo commentedYes, I already Flushed All Caches. Not sure if it helps that I added the header code here below for page.html.twig - much appreciate your help.
Also, I am using 8.x-3.0-Bata 2, not 8.x-3.x-Dev - thanks
Comment #4
Evangelo CreditAttribution: Evangelo commentedComment #5
markhalliwellI cannot reproduce this whatsoever with the latest code (dev). I can't fixed released versions (if it's really a bug in beta2, I haven't tested).
Comment #6
Evangelo CreditAttribution: Evangelo commentedThanks for your time and for looking at it. I've love bootstrap and used it a number of times without any problems. I've even used Alpha ver on a drupal 8 install without any prob but in a prod environment. This drupal 8 install was though cpanel by my hosting provider and the only thing I did before installing dootstrap theme/sub-theme was to upgrade the core to 8.0.2. I'll just use the navbar in normal position.
Comment #7
wranvaud CreditAttribution: wranvaud commentedNot sure if it's the same issue but my fixed navbar looked very similar as your screenshot but I had no .container class on it at all.
What I did was adding a template with the .container class at THEMENAME/templates/system/region--navigation-collapsible.html.twig with this code (copied from region.html.twig and modified):