0

i want to set my navbar in right by bootstrap 4

i set my logo in my html file and i use bootstrap4, in navbar-brand class but i am not able to set my menu like home about us and other thing in right

24th Jun 2018, 4:57 PM
Akash Rathor
Akash Rathor - avatar
6 Réponses
+ 1
Are you doing this? https://www.sololearn.com/learn/1592/?ref=app If I'm not getting the gist of your issue, posting code is always helpful. :)
24th Jun 2018, 5:03 PM
Janning⭐
Janning⭐ - avatar
+ 1
That's fine, but again, code is good. Boostrap 4 moved to flexbox and went from LESS to SASS. Hard to tell where the issue might be without code to look at.
24th Jun 2018, 5:25 PM
Janning⭐
Janning⭐ - avatar
+ 1
Maybe something like: Change line 17 to <div class="collapse navbar-collapse text-right" id="navbarSupportedContent"> & Change line 29 to <div class="dropdown-menu text-right" aria-labelledby="navbarDropdown"> or were you looking for something else?
24th Jun 2018, 9:00 PM
Janning⭐
Janning⭐ - avatar
0
no i am not talking about this still i working on bootstrap 4
24th Jun 2018, 5:18 PM
Akash Rathor
Akash Rathor - avatar
0
<div class="banner"> <div class="container-fluid"> <div class="container"> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand" href="#"><img src="img/Sahiba-Lady-logo.png" /></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"> <li class="nav-item active"> <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="#">Link</a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Dropdown </a> <div class="dropdown-menu" aria-labelledby="navbarDropdown"> <a class="dropdown-item" href="#">Action</a> <a class="dropdown-item" href="#">Another action</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="#">Something else here</a> </div> </li> <li class="nav-item"> <a class="nav-link disabled" href="#">Disabled</a> </li> </ul> </div> </nav> </div> </div> </div>
24th Jun 2018, 5:31 PM
Akash Rathor
Akash Rathor - avatar
24th Jun 2018, 5:40 PM
Akash Rathor
Akash Rathor - avatar