Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #34685
Closed
Open
Issue created Aug 04, 2021 by Administrator@rootContributor

v5: navbar-offcanvas color issues with navbar-dark

Created by: jakubmuda

There is a problem with colors in navbar-offcanvas. I didn't see any information about it in docs. It's a new feature so maybe I am doing something wrong so it should be mentioned in docs how to do it properly.

Just copy the navbar-offcanvas code and change color theme to dark by changing navbar-light bg-light to navbar-dark bg-dark

https://getbootstrap.com/docs/5.1/components/navbar/#offcanvas

The navbar is dark as expected with light text:

before


But the offcanvas is white and therefore the text is not visible.

after


You should also change text-reset to btn-close-white for dark navbar. In this case it should be removed, right?

image

Assignee
Assign to
Time tracking