<div class="full-width">
<div class="content-inner vc_col-sm-5">
<p>This is some text This is some text This is some text</p>
</div>
<div class="slide-show vc_col-sm-7">
<img src="imageher.jpg" alt="big image">
</div>
I have a code snippet here that displays two div boxes side by side. However, when the window width is smaller than 859px, I want to change their position so that the image comes first before the text.
<div class="full-width">
<div class="slide-show vc_col-sm-7">
<img src="imageher.jpg" alt="big image">
</div>
<div class="content-inner vc_col-sm-5">
<p>This is some text This is some text This is some text</p>
</div>
How can I achieve this using jQuery?