Alignment drives me crazy. How do I get this center row to center align and middle align? https://www.screencast.com/t/QgEZNvEiQIi
The current classes are the result of trying everything I can think of so they are likely very wrong. The actual code is:
<div class="sticky-top text-center justify-content-center">
<form action="" method="post" class="my-2 form-inline">
<input type="hidden" name="timeEnd" value="{ts '2019-07-16 13:56:34'}">
<div class="form-row w-100 text-center">
<div class="col-xl-4 form-group flex-nowrap align-middle">
<div>
<h3>Shop Monitor</h3>
</div>
<div class="form-check ml-auto">
<input class="form-check-input" type="checkbox" id="showAll" name="showAll" onchange="toggleData();">
<label class="form-check-label" for="showAll">
Show all
</label>
</div>
</div>
<div class="col-xl-4 form-group flex=center flex-nowrap">
<div class="row flex-nowrap align-middle">
<div class="col text-center align-middle"><input type="submit" class="btn btn-outline-secondary btn-sm mx-2" name="back" value="<<<"></div>
<div class="col text-center px-2">7/16/19 01:56</div>
<div class="col text-center px-2">==></div>
<div class="col text-center px-2">7/16/19 13:56</div>
<div class="col text-center align-middle"><input type="submit" class="btn btn-outline-secondary btn-sm mx-2" name="fwd" value=">>>" disabled=""></div>
</div>
</div>
<div class="col-xl-4">
<div class="text-xl-right text-center align-middle">
<select class="form-control" id="sampleRate" name="sampleRate" onchange="this.form.submit();">
<option value="4"> 4 hours (Sample rate: 3m)</option>
<option value="10" selected=""> 12 hours (Sample rate: 10m)</option>
<option value="20"> 24 hours (Sample rate: 20m)</option>
<option value="60"> 3 days (Sample rate: 1hr)</option>
<option value="140"> 1 week (Sample rate: 2hr)</option>
<option value="280"> 2 weeks (Sample rate: 4hr)</option>
<option value="360"> 1 month (Sample rate: 6hr)</option>
</select>
</div>
</div>
</div>
</form>
</div>
And if you can tell me an easy way to make this bar sticky UNDER the also-sticky navbar that would be great. Any design advice/criticism would also be appreciated. I'm not a UX guy, but I'm trying to learn.