In Bootstrap 4, it's possible to create a navbar with two rows by using the flexbox utility classes. Here's how you can achieve this:
- Set the flex-direction: column property on the .navbar-brand element. This will align the logo vertically with the navbar links.
- Optionally, you can add the flex-row class to the second navbar to align the icons horizontally.