Edited for better understanding:
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;
}
<section id="home">
<div class="container-fluid">
<div class="row">
<div>
<h1 class="text-center vcenter">Heading</h1>
<h3 class="text-center vcenter">Sub Heading</h3>
</div>
</div>
</div>
</section>
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.
I want the text to appear center of page according to screen size.
I want the headings to go where its written 1920x1080.
Thanks!