Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Product boxes "Pushing Down"

Home / Forums / Virtue Theme / Product boxes "Pushing Down"

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
July 5, 2016 at 12:44 pm

For product boxes that have product add-ons, Ben wrote a nice little snippet that would allow the boxes to “push” either boxes below or content below down as opposed to being over or underlapped… code below:

<script type="text/javascript">
jQuery(document).ready(function ($) {
$('.product-addon .addon-checkbox').change(function() {
var $container = $('.init-isotope'),
iso_selector = $('.init-isotope').data('iso-selector');
function kt_refreash_iso(){
$container.isotopeb({masonry: {columnWidth: iso_selector}, transitionDuration: '0s'});
}
setTimeout(kt_refreash_iso, 100);
});
});
</script>

However, ever since the last update (or two possibly) the snippet no longer works… I added the snippet to one of the text widgets on the footer, FYI.

Does anyone know how to modify the snippet to make it work again?

Thanks!

Example Page:

  • The forum ‘Virtue Theme’ is closed to new topics and replies.