I have found some explanations, below some, but none has helped.
Vertically Align Text Vertically Align
I have a website built on the skeleton framework. After some research for getting a fullscreen image for my homepage, I came up with the following code, and now need to center the content of that vh height dive horizontally and vertically. Can anybody help? Here is my screengrab: http://prntscr.com/g7bz5h
And the code:
.fullwidth-header {
background-image: url(../images/Risk-Home.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover !important;
height: 85vh;
}
.fullwidth-header .overlay {
background-image: url(../images/overlay.png);
background-repeat: repeat;
height: 85vh;
}
.full-head-content {
padding: 50px 0;
vertical-align: middle;
width: 100%;
display: inline-block;
height: 50%;
position: absolute;
top: 50%;
bottom: 0%;
margin: auto;
}
<div class="sixteen columns fullwidth-header">
<div class="overlay">
<div class="container">
<div class="full-head-content center center">
ACCESS TO PROFESSIONAL<br /><br /> Bankers
<br /> Risk Management Specialists<br /> Financial Managers
</div>
</div>
</div>
</div>