Problem/Motivation

In Bootstrap 5 there are classes for navbar placement:

  • fixed-top
  • fixed-bottom
  • sticky-top

But they are not available for editing in theme setting (section "Navbar options" in UI)

Proposed resolution

To add dropdown input element to "Navbar options" in theme configuration with classes for navbar placement

Issue fork bootstrap5-3549186

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rmcf created an issue. See original summary.

abyss’s picture

Assigned: Unassigned » abyss
iaacristobal’s picture

might be also useful to note that fixed-top classes for navbar will put it on top of the administration toolbar, making it unusable. i fix this usually by making the admin toolbar's z-index to 1050 and adding top: 80px to the fixed-top navbar

abyss’s picture

Version: 4.0.5 » 4.0.x-dev

Updated the development version to dev, as all changes are merged and tested first on the dev branch before being released.

abyss’s picture

Status: Active » Needs review

Added the ability to customize the navbar.
Since the changes were quite sensitive, it was necessary to change the existing class h-100 to min-vh-100 in html.html.twig. The changes require more detailed testing.
According to previous testing, the previous display functionality was not corrupted, and the new one works correctly, so everything should be fine.
If you notice any problems with the footer display when the content height is insufficient (i.e., it is not attached to the bottom), please report it and provide a process for reproducing this error.
The task is ready for testing.