I've designed a theme with two columns, one for text and the other for images. I've structured it in HTML to display as:
- Text - Img
- Img - Text
- Text - Img
- Img - Text
- Text - Img
- Img - Text
However, for mobile responsiveness, I want it to display as:
- Text - Img
- Text - Img
- Text - Img
- Text - Img
- Text - Img
This is my column code:
.one-half,
.three-sixths,
.two-fourths {
width: 48.4375%;
line-height: 1.2875;
}
Here's the HTML code:
<div class="one-half first"></div>
<div class="one-half"></div>
Is there a way to make this change only for mobile devices using HTML or CSS? If so, how can I achieve that?
Visit My Site