I'm slowly getting round to converting my site to mobile responsive, but I am having trouble with two lists on my homepage.
My home page currently has two columns of information which act like a news feeds, with a title, image and snippet of the text linking to the main article. These are organised in date order i.e. the latest posts alternate between the top of the two columns.
The two columns are set up as two separate divs, with the posts contained within an unordered list. i.e. each post is contained within a separate <li>. The problem I have is that when viewed on mobile the two columns stack one above the other (which I want), but the whole of the left hand div is displayed first, followed by the whole of the right hand div.
I would like the data contained in each <li> to alternate from the left column and the right column when viewed on mobile.
i.e. on mobile it would display in the following order:-
1st <li> from left hand div
1st <li> from right hand div
2nd <li> from left hand div
2nd <li> from right hand div
3rd <li> from left hand div
3rd <li> from right hand div
e.t.c.
I have no idea how to do this and would appreciate any ideas.
Thanks