Q:

Bootstrap Sticky navbar is causing vertical scrolling in collapsed mode

I am building a navbar that is supposed to stick to the top of the page. I used .navbar-fixed-top class to accomplish that and gave the body element, a padding of 70px. Now in the collapsed mode (mobile resolution), when toggled, it gives a vertical navigation. 
Not sure where this scrolling is coming from.
Here's the code:

<header class=" container-fluid navbar-fixed-top">

  <!-- header navbar -->
  <nav class="navbar navbar-default">
    <div class="container">
      <!-- Brand and toggle get grouped for better mobile display -->
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="market.html"><img src="images/logo-inner.jpg" / alt="B-Hive: Expand your business"></a>
      </div>

      <!-- Collect the nav links, forms, and other content for toggling -->
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

        <!-- Form search start -->
        <form class="navbar-form navbar-left" role="search" class="top-search-padding">
          <div class="form-group">

            <div class="search-div ui-widget">
              <input id="tags" type="text" class="txt-search" placeholder="Search people, products and services">

              <button type="submit" class="btn-search"><img src="images/search-icon.png" /></button>
            </div>
          </div>
        </form>
        <!-- Form search end -->
        <ul class="nav navbar-nav navbar-right">
          <li class="top-menu-links-active"><a href="#">MARKET</a></li>
          <li><a class="top-menu-links" href="#">EXHIBITIONS</a></li>
          <li><a class="top-menu-links" href="#">MESSAGES</a></li>
          <li><a class="top-menu-links" href="#">DASHBOARD</a></li>
          <li><a class="top-menu-links" href="#">CART</a></li>
          <li class="profile-pic-padding"></li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle custom-dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><img class="" src="images/profile-pic.fw.png" /> <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="#">Account</a></li>
              <li><a href="#">Privacy</a></li>

              <li role="separator" class="divider"></li>
              <li><a href="#">Switch Accounts</a></li>
              <li role="separator" class="divider"></li>

              <li><a href="#">Language <span class="caret"></span></a>
                <ul class="dropdown-menu">
                  <li><a href="#">EN</a></li>
                  <li><a href="#">ع</a></li>

                </ul>
              </li>

            </ul>
          </li>



        </ul>
      </div>
      <!-- /.navbar-collapse -->
    </div>
    <!-- /.container-fluid -->
  </nav>
  <!-- /header navbar -->

</header>

A:

Bootstrap's .navbar-collapse has a default max-height: 340px; which causes scrollbars to appear when the links inside the navigation exceed this height.
You can simply remove this property to avoid the scrollbars from appearing in mobile view.

