My page consists of only two components - a menu and a search form. I've been having trouble centering the search form on the page, despite following Bootstrap's documentation which states that I should be able to achieve this by adding align-items-center
to the row. I suspect I am making a mistake as I am new to both Bootstrap and CSS :( ...
Here is a screenshot of what the page looks like in the browser: https://i.sstatic.net/Ts00y.png
<div class="container searchcontainer">
<div class="row align-items-center">
<div class="col">
<form class="searchform d-flex" role="search">
<input class="form-control me-2" type="search" placeholder="Search A Word Pattern" aria-label="Search">
<button class="btn SearchButton" type="submit">Search</button>
</form>
</div>
</div>
Thank you in advance for your help!