title: How to vertically center text in bootstrap 3?
body: <p>Edited for better understanding:</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>html,body {
      height:100%;
      padding:0;
  }
  #home {
   color: black;
   background-color: rgba(0, 0, 0, 0);
      background-repeat: no-repeat;
      background-image: url(../images/bg-1.jpg);
      background-size: cover;
      background-position: center center;
      width: 100%;
      height: 100%;
      opacity: 1;
      visibility: inherit;
      min-height:100%;
  }
  
  #home .vcenter {
   vertical-align: middle;
      display: inline-block;
      float: none;
      border: 1px solid white;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section id="home"&gt;
    &lt;div class="container-fluid"&gt;
      &lt;div class="row"&gt;
     &lt;div&gt;
    &lt;h1 class="text-center vcenter"&gt;Heading&lt;/h1&gt;
    &lt;h3 class="text-center vcenter"&gt;Sub Heading&lt;/h3&gt;
     &lt;/div&gt;
   &lt;/div&gt;
    &lt;/div&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have tried the above but it's not working. I have used min-height in section id because i want the bg image to be full screen as per screen size but the text is not vertically and horizontally center.</p>
  
  <p><strong>I want the text to appear center of page according to screen size.</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/4LVOr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4LVOr.png" alt="enter image description here"></a></p>
  
  <p>I want the headings to go where its written 1920x1080.</p>
  
  <p>Thanks!</p>