America’s Premier Artisanal Gelato & Sorbetto Producer Villa Dolce Gelato, a leading producer of artisanal gelato and sorbetto in the U.S., is known for its commitment to quality and authentic flavors. Using traditional techniques and the finest global ingredients, they create exceptional desserts for diverse foodservice channels. As an Italian family-owned company, Villa Dolce continues...
Villa Dolce Gelato, a leading producer of artisanal gelato and sorbetto in the U.S., is known for its commitment to quality and authentic flavors. Using traditional techniques and the finest global ingredients, they create exceptional desserts for diverse foodservice channels. As an Italian family-owned company, Villa Dolce continues to innovate while honoring its rich heritage....
(function () {
function relayoutSplitGrid($scope) {
var $wrap = $scope.find('.knz-split-grid').first();
if (!$wrap.length) return;
// Find the active filter value from Kinsey filter UI (adjust selector if needed)
var $active = $scope.find('.js-filter .is-active, .js-filter .active').first();
var filterVal = $active.attr('data-filter') || '*';
// Toggle class based on whether we're filtered
$wrap.toggleClass('is-filtered', filterVal !== '*');
// Trigger layout on all isotope grids inside this widget scope
$scope.find('.js-grid').each(function () {
var $g = jQuery(this);
if ($g.data('isotope')) {
$g.isotope('layout');
} else if (typeof $g.isotope === 'function') {
// In case isotope was initialized but not stored yet
try { $g.isotope('layout'); } catch (e) {}
}
});
}
// Elementor frontend hook
jQuery(window).on('elementor/frontend/init', function () {
elementorFrontend.hooks.addAction(
'frontend/element_ready/kinsey-portfolio-masonry-grid.default',
function ($scope) {
// Run once on load
relayoutSplitGrid($scope);
// Re-run whenever a filter button is clicked
$scope.on('click', '.js-filter [data-filter]', function () {
// Let Kinsey run its filter first, then relayout
setTimeout(function () { relayoutSplitGrid($scope); }, 50);
setTimeout(function () { relayoutSplitGrid($scope); }, 250);
});
}
);
});
})();