Currently, I am utilizing Bootstrap3 and have implemented the code below. While it displays correctly on my desktop, the issue arises when viewed on a mobile device as the text is not grouped properly.
My desired mobile view should look like this:
- Header 1
- Detailed description text for Header 1
- Header 2
- Detailed description text for Header 2
However, the actual mobile view displays like this:
- Header 1
- Header 2
- Detailed description text for Header 1
- Detailed description text for Header 2
Below is the div code that I have set up:
<div class="row">
<div class="col-sm-6 clearfix text-left">
<p>Header 1</p>
</div>
<div class="col-sm-6 clearfix text-left">
<p>Header 2</p>
</div>
</div>
<div class="row">
<div class="col-sm-6 text-left">
Detailed description text for Header 1
</div>
<div class="col-sm-6 text-left">
Detailed description text for Header 2
</div>
</div>
Thank you!