July 20, 201610 yr What is the approved and conventional method for changing the order of columns at different screen widths in a bootstrap type grid? I think it's something to do with the push - pull classes but I am not too clear how I would apply them in a fluid layout. Specifically my plan is fairly simple. I have a two column page with main content and a sidebar to the left. On mobile I get one column with the sidebar stuff above the main content. I want to get the main content at the top for mobile reading. Should be simple I know, but I am having a mental blockage this morning. TIA TW
July 20, 201610 yr I would put the sidebar HTML/content after the main content (in terms of HTML structure) - something like this: https://jsbin.com/hasezed/edit?html,output
July 21, 201610 yr you would use the push-pull classes. Or use my grid In which case you can simply add the class .grid--reverse to reverse to reverse the order of the items. https://github.com/rbrtsmith/rbrtsmith-gridBootstrap made a mistake going with floats...
Create an account or sign in to comment