Skip to content

Instantly share code, notes, and snippets.

@banarsiamin
Last active June 12, 2024 13:49
Show Gist options
  • Save banarsiamin/e355258acd4a48e8bef3c0645f17f429 to your computer and use it in GitHub Desktop.
Save banarsiamin/e355258acd4a48e8bef3c0645f17f429 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