EDIT: After implementing the accepted answer below, I have the following, which is what I originally had before implementing any push/pull tactics. Thus the problem persists. Any suggestions that could help achieve the desired layout on small screens are welcome.
----------------------------
| Left Sidebar | |
------------------ Main |
| | |
| | |
| | |
| | |
| | |
-----------------|---------|
| Right |
------------------
I have 3 columns in one row in a fluid container (container-fluid). I have been trying to align them correctly on screen size changes all day, but to no avail.
1: right sidebar
2: left sidebar
3: main
What it looks on big screens:
------------------------------------------------
| Left sidebar | Main | Right Sidebar |
------------------------------------------------
What it should look like on smaller screens:
----------------------------
| Left Sidebar | |
------------------ Main |
| Right Sidebar | |
----------------------------
What it looks like now:
-----------------------------
| Left | Main |
| Sidebar ------------
| | Right |
| | sidebar |
-----------------------------
I have tried different combination of col-sm-push/pull-x and col-xs-push/pull-x, but none of them have produced the desired output. I kept getting the columns overlapped on top of each other on big screens, instead of nicely beneath each other on smaller screens as intended. How can I achieve the right layout on small screens?