Title

jQuery Elementor, Close accordion by default

description

Load the Accordion widget with items closed by default

Published 2022-05-13

Modified 2022-08-19

content

				
					// Add this code in the HTML widget above the accordion in script tags, or add site wide
jQuery(document).ready(function($) { 
  var delay = 100; setTimeout(function() {
    $('.elementor-tab-title').removeClass('elementor-active');
    $('.elementor-tab-content').css('display', 'none');
  }, delay);
});