I'm struggling to vertically center the text within the yellow space. I've attempted using "align-items-center" on the row and the "my-auto" class as suggested in the documentation, but it's not working.
#heading-cont {
background-color: #F7CE38;
height: 10rem;
}
.white {
color: white;
}
.title {
font-family: 'Montserrat', Arial, sans-serif;
text-transform: uppercase;
font-weight: 300;
}
.description {
font-family: 'Pathway Gothic One', Arial, sans-serif;
font-weight: 400;
text-transform: uppercase;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet"/>
<section class="header">
<div class="container-fluid" id="heading-cont">
<div class="row">
<div class="col-sm-12 my-auto">
<h1 class="title white text-center">Digital</h1>
<h4 class="description white text-center">This is the description.</h4>
</div>
</div>
</div>
</section>