I'm attempting to create a full-width header image that occupies about 25% of the page's height for my website. I am relatively new to using bootstrap and I am facing issues changing the height of the image/container. I have tried adding the "h-25" class, as well as applying inline styles. Additionally, I attempted to create a separate CSS file to override the bootstrap settings (by setting .container-fluid {height:25%;}). Unfortunately, despite all my efforts, I am unable to adjust the height of the image.
<div class="container-fluid p-0 h-25">
<img src="Photos/2019 SB Photos/AudienceSet+Tvs_darkened.JPG" class="img-fluid" height="25%;" alt="Responsive image">
</div>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">SSS</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">The Party<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Current Stadium</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">RSVP</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Stadium History
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">2017 Stadium</a>
<a class="dropdown-item" href="#">2018 Stadium</a>
<a class="dropdown-item" href="#">2019 Stadium</a>
</div>
</li>
</ul>
</div>
</nav>
The container is positioned at the top, and I have included the navbar section as additional context regarding the image boundaries.