0

I can't find any classes to right align collapse menu of navbar toggle in bootstrap 3. Is there anyway like hooking css to do that? Here is the code mention that I need right align menus! CesaStack Toggle navigation

  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse" id="bs1">
      <ul class="nav navbar-nav navbar-right">
          <li><a href="/contact">goto right</a></li>
          <li><a href="#">goto right</a></li>
          <li><a href="#">goto right</a></li>
      </ul>
      <form class="navbar-form navbar-left" role="search">
          <div class="form-group">
              <input type="text" class="form-control text-right" placeholder="جست و جو">
          </div>
          <button type="submit" class="btn btn-default"><i class="glyphicon glyphicon-search"></i></button>
      </form>
  </div><!-- /.navbar-collapse -->

hamidfzm
  • 4,595
  • 8
  • 48
  • 80

2 Answers2

0

Use 'pull-right' into the class string and let bootstrap arrange the buttons.

For more information you check Helper classes

http://getbootstrap.com/css/#helper-classes

Imran Rashid
  • 3,352
  • 4
  • 31
  • 41
  • your question was not clear you should provide any example what you are trying to do. I dont think bootstrap have any class for vertical align you have to use custom css for that. – Imran Rashid Dec 13 '13 at 15:21