Monday, August 8, 2016

Split text into 2 separate columns

1- Use the jquery.columnlist.js file from here: https://github.com/weblinc/jquery-columnlist
2- Apply to object:
     //Product detail pages: split into 2 columns
    if ($(window).width() > 800) {
      $('.pager_element_wrapper').columnlist({ size: 2 });
    };
Note: pager_element_wrapper is the main div/parent wrapper

No comments:

Post a Comment