1. Home
  2. Knowledge Base
  3. WordPress
  4. DIVI
  5. Close DIVI accordion completely

Close DIVI accordion completely

If you would also like to close the accordion in DIVI completely, this code will help you:

<script>
jQuery(function($){
$('.et_pb_accordion .et_pb_toggle_open').addClass('et_pb_toggle_close').removeClass('et_pb_toggle_open');$('.et_pb_accordion .et_pb_toggle').click(function() {$this = $(this);setTimeout(function(){$this.closest('.et_pb_accordion').removeClass('et_pb_accordion_toggling');},700);});});</script>

You can insert the code here:

Dieser Beitrag ist auch verfügbar auf: Deutsch (German)

Was this article helpful?

Related Articles

Submit a Comment

Your email address will not be published. Required fields are marked *

Published on - 28. Jun 2020
Modified on - 1. Apr 2024
Views - 44
Likes - 0

Do you need help?

Kontaktiere uns gerne :-)
Contact Support
Skip to content