title: adjusting the page scroll to decrease its page scroll
body: <p>Hello guys i downloaded a bootstrap template and i made to fix the navbar static top. I also decreased the padding-top of every scroll section. I am having a trouble because when i scroll to other page scroll, it covers the head text of the page section. I want to make my navbar larger but i cant because it covers the page scroll. Is there any solution to decrease the scroll down or target it in a division for the page header will not be covered? here is the code :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body {
    width: 100%;
    height: 100%;
  }
  html {
    width: 100%;
    height: 100%;
  }
  @media(min-width:767px) {
    .navbar {
      text-align: right;
      padding: 30px 0;
    }
    .top-nav-collapse {
      padding: 0;
    }
  }
  /* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
      The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children 
      of those sections to manage the look and feel of the site. */
  
  .intro-section {
    height: 100%;
    padding-top: 50px;
    text-align: center;
    background: #fff;
  }
  .about-section {
    height: 100%;
    padding-top: 50px;
    text-align: center;
    background: #eee;
  }
  .services-section {
    height: 100%;
    padding-top: 50px;
    text-align: center;
    background: #fff;
  }
  .contact-section {
    height: 100%;
    padding-top: 50px;
    text-align: center;
    background: #eee;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top"&gt;
  
    &lt;!-- Navigation --&gt;
    &lt;nav class="navbar navbar-default navbar-fixed-top" role="navigation"&gt;
      &lt;div class="container"&gt;
  
        &lt;a class="navbar-brand"&gt;&lt;span class="logo"&gt;&lt;img class="logo-mob" width="10%" src="images/mylogo.png" alt="mylogo"&gt;&lt;/span&gt; &lt;/a&gt;
  
        &lt;div class="navbar-header page-scroll"&gt;
          &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"&gt;
            &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
            &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;/button&gt;
  
        &lt;/div&gt;
  
        &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
        &lt;div class="collapse navbar-collapse navbar-ex1-collapse"&gt;
          &lt;ul class="nav navbar-nav"&gt;
            &lt;!-- Hidden li included to remove active class from about link when scrolled up past about section --&gt;
            &lt;li class="hidden"&gt;
              &lt;a class="page-scroll" href="#page-top"&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a class="page-scroll" href="#about"&gt;About&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a class="page-scroll" href="#services"&gt;Services&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a class="page-scroll" href="#contact"&gt;Contact&lt;/a&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
        &lt;!-- /.navbar-collapse --&gt;
      &lt;/div&gt;
      &lt;!-- /.container --&gt;
    &lt;/nav&gt;
  
    &lt;!-- Intro Section --&gt;
    &lt;section id="intro" class="intro-section"&gt;
      &lt;div class="container"&gt;
        &lt;div class="row"&gt;
          &lt;div class="col-lg-12"&gt;
            &lt;h1&gt;Scrolling Nav&lt;/h1&gt;
            &lt;p&gt;&lt;strong&gt;Usage Instructions:&lt;/strong&gt; Make sure to include the &lt;code&gt;scrolling-nav.js&lt;/code&gt;, &lt;code&gt;jquery.easing.min.js&lt;/code&gt;, and &lt;code&gt;scrolling-nav.css&lt;/code&gt; files. To make a link smooth scroll to another section on the page, give the link the &lt;code&gt;.page-scroll&lt;/code&gt; class
              and set the link target to a corresponding ID on the page.&lt;/p&gt;
            &lt;a class="btn btn-default page-scroll" href="#about"&gt;Click Me to Scroll Down!&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/section&gt;
  
    &lt;!-- About Section --&gt;
    &lt;section id="about" class="about-section"&gt;
      &lt;div class="container"&gt;
        &lt;div class="row"&gt;
          &lt;div class="col-lg-12"&gt;
            &lt;h1&gt;About Section&lt;/h1&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/section&gt;
  
    &lt;!-- Services Section --&gt;
    &lt;section id="services" class="services-section"&gt;
      &lt;div class="container"&gt;
        &lt;div class="row"&gt;
          &lt;div class="col-lg-12"&gt;
            &lt;h1&gt;Services Section&lt;/h1&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/section&gt;
  
    &lt;!-- Contact Section --&gt;
    &lt;section id="contact" class="contact-section"&gt;
      &lt;div class="container"&gt;
        &lt;div class="row"&gt;
          &lt;div class="col-lg-12"&gt;
            &lt;h1&gt;Contact Section&lt;/h1&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/section&gt;
  
    &lt;!-- jQuery --&gt;
    &lt;script src="js/jquery.js"&gt;&lt;/script&gt;
  
    &lt;!-- Bootstrap Core JavaScript --&gt;
    &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
  
    &lt;!-- Scrolling Nav JavaScript --&gt;
    &lt;script src="js/jquery.easing.min.js"&gt;&lt;/script&gt;
    &lt;script src="js/scrolling-nav.js"&gt;&lt;/script&gt;
  
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>