MyListing Club

Collapse All Elementor Pro Accordion Items by Default

Building better MyListing websites. One code snippet at a time.

Overview

The Collapse All Elementor Pro Accordion Items by Default CSS Code Snippet is part of a workaround until Elementor makes this a setting within their widget.

Implementation

  1. Grab the code snippet.
  2. Follow the provided instructions.
  3. Save your changes.
				
					//// INSTRUCTIONS: 
//// 1. Copy and paste the code snippet below into Theme Tools > Theme Options > Custom Code > CSS.
//// 2. Add an extra Accordion item as your FIRST item and leave the contents of it blank.

--------------------------- CODE SNIPPET IS BELOW THIS LINE --------------------------- 

/* Collapse All Elementor Pro Accordion Items by Default */
.elementor-accordion .elementor-accordion-item:first-child {
	display: none !important;
}