kaniosrn-j
6/27/2017 - 6:52 PM

use wrapping element inside a column

use wrapping element inside a column

  var divs = $(".sys_section-landing > .sys_listing-item.sys_fade75");
  for(var i = 0; i < divs.length; i+=4) {
    divs.slice(i, i+4).wrapAll("<div class='sys_section sys_group'></div>").wrapAll("<div class='sys_column sys_span-12'></div>");
  }