MyListing Club

Expand Work Hours Block by Default

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

Overview

The Expand Work Hours Block by Default code snippet allows for greater control of Single Listings within a MyListing website.

By default, the Work Hours block will be collapsed, but this snippet will expand it.

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;
}