Reply To: Use ICS first entry in Elementor Pro Countdown
Home › Pro Support Forums › General Support › Use ICS first entry in Elementor Pro Countdown › Reply To: Use ICS first entry in Elementor Pro Countdown
I’m not quite sure I understand what you mean, but it sounds like you are referring to attributes of the HTML tag(s) for the first event in list view, is that correct?
You should be able to select the first event in the list with this CSS/jQuery selector:
article.ics-calendar-list-wrapper div.ics-calendar-date-wrapper:first-child
From there you could select additional child elements to retrieve their attributes or (in jQuery) the text they contain. The attributes, such as they are, are mostly using display formats of dates and are not really ideal for doing calculations (e.g. for countdowns), but you may be able to make it work.