I would like to place H1 and P tag in the Modal Header and have them occupy one row each. I also want to center the text.
I have applied d-block to each, but they will have two cols. I tried widening the Height in the Modal Header, but that didn't work either.
How can I solve this problem ? I'm using [email protected].
<div class="modal fade" id="product-review-modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Review of "Product Name"</h1>
<p>Please review this product! Thank you for your cooperation!</p>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>