MyListing Club

Hide Hours and Minutes From Countdown Block

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

Overview

The Hide Hours and Minutes From Countdown Block code snippet is useful for those that just want to show the days remaining before an event starts.

Implementation

  1. Grab the code snippet.
  2. Follow the provided instructions.
  3. Save your changes.
				
					//// INSTRUCTIONS: 
//// Copy and past the code snippet below into Theme Tools > Theme Options > Custom Code > CSS.

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

/* ML - SINGLE LISTING - COUNTDOWN BLOCK - HIDE HOURS AND MINUTES
ul.countdown-list li:nth-child(2) {
    display: none;
}
ul.countdown-list li:last-child {
    display: none;
}
.countdown-box .countdown-list li {
    margin-right: -20px;
}