start-date only on last element if two events on the same day
-
Hello
I output the two latest events on the start page:
I hide the end-date with css.
If the two events are on the same day, only the second gets the start date:
<div class="event-list"> <ul class="event-list-view"> <li class="event"> <div class="event-date"> <div class="end-date"> <div class="event-weekday">Fr</div> <div class="event-day">04</div> <div class="event-month">Jul</div> <div class="event-year">2014</div> </div> </div> <div class="event-info multi-day"> <div class="event-title"> <h3>Sonisphere Festival</h3> </div> </div> </li> <li class="event"> <div class="event-date multi-date"> <div class="start-date"> <div class="event-weekday">Fr</div> <div class="event-day">04</div> <div class="event-month">Jul</div> <div class="event-year">2014</div> </div> <div class="end-date"> <div class="event-weekday">Sa</div> <div class="event-day">19</div> <div class="event-month">Jul</div> <div class="event-year">2014</div> </div> </div> <div class="event-info multi-day"> <div class="event-title"> <h3>Montreux Jazz Festival</h3> </div> </div> </li> </ul> </div>
Is that a bug or intended?
How can I change that?
Best Regards and thank you!
Chris
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘start-date only on last element if two events on the same day’ is closed to new replies.