Collapse All Elementor Pro Accordion Items by Default

Recommendation

Learn why I switched to WPCodeBox for managing code snippets for myself and for my clients.

Instructions

Snippet Type: CSS

  1. Copy the snippet.
  2. Add the snippet using WPCodeBox.
  3. Follow any customization notes provided.
  4. Save the snippet.
  5. Enable the snippet.
  6. Test.

Snippet

Customization Notes

Add an extra Accordion item as your FIRST item and leave the contents of it blank.

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