0

I'm using navbar whitout lists. How do you make navbar brand stay left, and the links go right? Before it was just "navbar-right", what about now?

Thank you in advance!

Lothe
  • 53
  • 6
  • Possible duplicate of [Align navbar item to the right in bootstrap 4 alpha 6](http://stackoverflow.com/questions/41513463/align-navbar-item-to-the-right-in-bootstrap-4-alpha-6) – Zim Jan 23 '17 at 15:41
  • It has been replaced by `ml-auto` – Zim Mar 06 '17 at 19:32

3 Answers3

1

I found the answer now.

You have to add "ml-auto".

<div class="navbar-nav ml-auto">
Lothe
  • 53
  • 6
1

A more complete working example for bootstrap4 alpha 6 here. http://www.codeply.com/go/P0G393rzfm This new behavior occurred in alpha 6 release of bootstrap 4.

AlfaSpider
  • 146
  • 4
0

I wouldn't say it as a replacement but here is the class you could use to make the menu left-aligned.

<div class = "navbar-nav ms-lg-suto> 
.......
.......
.......
</div>
Wai Ha Lee
  • 8,173
  • 68
  • 59
  • 86