Having difficulty aligning two columns containing text - specifically, two lists.
The goal is to have both columns on the same row with centered lists and their respective items aligned as normal bullet points.
Any advice would be greatly appreciated.
Code snippet below:
<div class="container d-none d-md-block text-center">
<div class="row">
<div class="col">
<div class="row">
<h4 style="color:#2CA851;"><strong>Premium</strong></h4>
</div>
<div class="row">
<h4 style="color:#2CA851;">Academic Advantage</h4>
</div>
<ul class="row list-group list-unstyled ">
<li class="row p-1 list-group-item border-0">
<span><i class="h5 fa fa-check-circle px-1" style="color:#2CA851;"></i>Unlimited A+ Exam Focused Revision Notes.</span>
</li>
<li class="row p-1 list-group-item border-0">
<span><i class="h5 fa fa-check-circle px-1" style="color:#2CA851;"></i>Past Examinations and Questions by Topic.</span>
</li>
<li class="row p-1 list-group-item border-0">
<span><i class="h5 fa fa-check-circle px-1" style="color:#2CA851;"></i>A+ Sample Essays, Quizzes, and Math Content.</span>
</li>
</ul>
</div>
<div class="col">
<div class="row">
<h4 style="color:#EF6F5E;"><strong>Limited Access</strong></h4>
</div>
<div class="row">
<h4 style="color:#EF6F5E;">Ordinary Outcome</h4>
</div>
<ul class=" row list-group list-unstyled">
<li class="row p-1 list-group-item border-0" style="color: #001847;">
<span><i class="h5 fa fa-times-circle px-1" style="color:#EF6F5E;"></i>Restricted Access. Limited Features.</span>
</li>
<li class="row p-1 list-group-item border-0">
<span><i class="h5 fa fa-times-circle px-1" style="color:#EF6F5E;"></i>Less than 10% of Premium Material.</span>
</li>
<li class="row p-1 list-group-item border-0">
<span><i class="h5 fa fa-times-circle px-1" style="color:#EF6F5E;"></i>Older Content & Legacy Features.</span>
</li>
</ul>
</div>
</div>
</div>
Using col-6 for each column doesn't center properly. Centering the text hasn't aligned the icons correctly either.
Aligned using text-center However, this alignment issue persists with the icons misaligned.
EDITS: Utilizing justify-content-center as suggested by @surya-prima-siregar and @harvir This gets closer to a solution, but the lists should be centered based on the buttons below rather than appearing before them.
Credit to @alexandra-batrak for providing a solution Refer to @alexandra-batrak's answer