Skip to content

Instantly share code, notes, and snippets.

@Roy-Oto
Created May 10, 2021 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Roy-Oto/58da3dc2b80f7dbe81c8be788d25949c to your computer and use it in GitHub Desktop.
Save Roy-Oto/58da3dc2b80f7dbe81c8be788d25949c to your computer and use it in GitHub Desktop.
How to make an elementor accordion close.
<script>
jQuery(document).ready(function($) {
var delay = 100; setTimeout(function() {
$('.elementor-tab-title').removeClass('elementor-active');
$('.elementor-tab-content').css('display', 'none'); }, delay);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment