How to Style Dates

Home Forums Calendar Products Events Calendar PRO How to Style Dates

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #615338
    shae strachan
    Participant

    How can I styles the event dates similar to this?

    <span class=”weekday”>Tuesday</span>, <span class=”month”>August</span> <span class=”day”>12</span>

    #618300
    Casey D
    Member

    Hello shaewebdinercom,

    Thanks for contacting us! Where would you like these styled? On which view? The single event pages?

    It’s very doable, but will require some heavy customization. Look into the ‘tribe_events_event_schedule_details()’ template tag, along with the ‘tribe_events_event_schedule_details_formatting’ and ‘tribe_events_event_schedule_details’ filters. You can catch the date a string replace the format you want, I believe.

    If you can offer me more details I may be able to assist you a bit more. Unfortunately that level of customization typically goes beyond the scope of the forums.

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #625836
    shae strachan
    Participant

    Thanks for the reply. I am using the list view in the list widget.

    #641050
    Casey D
    Member

    Hello shaewebdinercom,

    The above information will apply to the list widget as well.

    Check out those filters, and search/replace for you dates and add you html around it.

    Good luck!

    – Casey Driscoll

    #809238
    Brook
    Participant

    Since this topic has gone for a spell without a response I am going to archive it. If you do need anything else please feel free to open a new topic. Cheers!

    – Brook

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to Style Dates’ is closed to new replies.