What I'm trying to accomplish is: After minimizing browser to certain width, 600px in my fiddle's case, stop the css rule: display: inline-block from making my container boxes from becoming 1 column. I would like it to stay at 2 columns.
Additional notes: I am using jQuery plugin: Mixitup.
This is an example of the jQuery plugin's code, but not MY code as it is much larger than this: http://codepen.io/jzhang172/pen/EVGNqj
What I tried doing: Using CSS rule @media all (max-width:600px) I tried messing with the display: "value", but no good. I figured the answer will be a javascript solution but I'm no expert at Javascript.
Jsfiddle:http://jsfiddle.net/jzhang172/886mbLbq/
.box{ width:200px; height:200px; background:black; display:inline-block; } @media all and (max-width:600px) { #container .box{ display:block; } } <div id="container"> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> <div class="box"></div> </div>