Knowledge Base

Table of Contents

Updated on May 26, 2023

Make Elementor Accordion Widget Closed by Default


Elementors Accordion widget defaults to first accordion being open. We want this to be closed by default so a visitor has to pressed the accordion to open.


Add html widget in same container just above accordion widge. Add the following code to the html widget.

jQuery(document).ready(function($) {
var delay = 100; setTimeout(function() {
 $('.elementor-tab-content').css('display', 'none'); }, delay);