Skip to content
jQuery(document).ready(function($) {
const $accordion = $('.hover-accordion');
if ($accordion.length === 0) return;
$accordion.find('.elementor-accordion-item').each(function () {
const $item = $(this);
const $title = $item.find('.elementor-tab-title');
const $content = $item.find('.elementor-tab-content');
$item.on('mouseenter', function () {
$accordion.find('.elementor-tab-title').removeClass('elementor-active');
$accordion.find('.elementor-tab-content').slideUp(200);
$title.addClass('elementor-active');
$content.slideDown(200);
});
$item.on('mouseleave', function () {
$title.removeClass('elementor-active');
$content.slideUp(200);
});
});
});