Skip to content

Instantly share code, notes, and snippets.

@dexit
Forked from banarsiamin/elementor-tab-close.js
Created June 12, 2024 13:49
Show Gist options
  • Save dexit/0c3074f7e597e5775cf41d85a3462ca3 to your computer and use it in GitHub Desktop.
Save dexit/0c3074f7e597e5775cf41d85a3462ca3 to your computer and use it in GitHub Desktop.
How to Set the Elementor Accordion Widget Closed by Default
jQuery(document).ready(function($) {
var delay = 100; setTimeout(function() {
$('.elementor-tab-title').removeClass('elementor-active');
$('.elementor-tab-content').css('display', 'none'); }, delay);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment