I am struggling to vertically center a group of buttons within a column (as seen in the image). The height of the row is variable and I have tried numerous approaches without success.
Screenshot:
<div class="row question even">
<div class="col-sm-7 col-md-9 text r-text">
<div>
dynamic content
</div>
</div>
<div class="col-sm-5 col-md-3 r-answer" id="radio">
<input class="answerradio" id="question3" name="question3" type="hidden" value="4">
<div class="btn-group" data-target="question3" data-toggle="buttons-radio">
<button class="btn btn-primary" data-toggle="button" type="button" value="1">1</button> <button class="btn btn-primary" data-toggle="button" type="button" value="2">2</button>
<button class="btn btn-primary" data-toggle="button" type="button" value="3">3</button> <button class="btn btn-primary" data-toggle="button" type="button" value="4">4</button>
<button class="btn btn-primary" data-toggle="button" type="button" value="5">5</button>
</div>
</div>
</div>
You can view my complete code here:
Does anyone have a solution to this issue?
I am using Bootstrap 3.
Thank you in advance!