Open salcode opened 8 years ago
@bryanwillis Wow, cool. Thanks for taking a first pass at this.
The function bsg_loop_row_wrapper_close()
in my example makes me cringe that it's only purpose is to echo a
Maybe even putting anonymous functions directly in bsg_grid_loop_query_args() :
add_action('genesis_after_loop', function(){
echo '</div>';
}, 999);
Not sure if that is any cleaner...
Also, here's a bootstrap example I made recently using flexbox layout (1st example) and masonry layout (3rd example).
http://codepen.io/bootstrapped/full/RrabNe/
Bootstrap 4 allow both of these things so we might as well plan for the future...
Needs some improving upon... but it works.
Flexbox Support to make columns equal height (no support below IE10):