I have encountered a formatting issue with my Bootstrap 4 form. The label for "Number of Travellers" is currently aligned to the right, which disrupts the overall look of the form and makes the label appear out of place.
Below is the snippet of the code in question:
<div class="form-row col-xs-6">
<div class="form-group col-md-6">
<label for="travelFrom">Travelling from:</label>
<input class="form-control" type="text" placeholder="Singapore" readonly>
</div>
<div class="form-group col-md-6">
<label for="travelTo">Travelling to:</label>
<select class="form-control" id="to">
<option>Indonesia</option>
<option>Malaysia</option>
<option>Thailand</option>
<option>Hong Kong</option>
<option>South Korea</option>
<option>Japan</option>
<option>Maldives</option>
<option>Others</option>
</select>
</div>
<div class="form-group">
<label>Number of Travellers:</label>
<input type="number" class="form-control" placeholder="Enter the number of travellers">
</div>
<a href="https://m.me/weekendgowheresg" class="fb-msg-btn" target="_blank"><img src="https://cdn.snaptravel.com/facebook-messenger-white.svg" style="width:30px;height:30px" alt="Facebook Messenger logo">Get Deal on Messenger</a>
<a href="https://wa.me/93900052" class="wa-msg-btn" target="_blank"><img src="images/whatsapp.svg" style="width:30px;height:30px" alt="WhatsApp logo">Get Deal on WhatsApp</a>
</div>
I would like to adjust the layout so that the label, "Number of Travellers," is positioned directly above the input box.
Any assistance in resolving this issue would be greatly appreciated!
For a visual reference, please see the screenshot https://i.sstatic.net/8BxOs.jpg
If you are able to provide guidance or support, please check out the JSFiddle link: https://jsfiddle.net/or7jd8yL/