.banner { color: white; text-align: center; height: 100vh; /* if you have a 70px navbar => height: calc(100vh - 70px); */ background-size: cover !important; display: flex; align-items: center; justify-content: center; } .banner h1 { font-size: 60px; font-weight: bold; text-shadow: 0px 1px rgba(0, 0, 0, 0.2); color: #F0FFFF; } .banner p { font-size: 30px; font-weight: lighter; color: #F0FFFF; opacity: 0.8; margin-bottom: 20px; }