Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    Hello,

    Glad you like the plugin! You could try using this CSS class:

    .simcal-past

    Let me know if that helps.

    Thanks!

    Thread Starter biels

    (@biels)

    Hi,

    Thanks for the reply!

    I didn’t notice that class, thanks! Unfortunately, on my page the event that’s not in the past gets the same class.. Could it be something with my settings?

    https://www.skills-talents.nl/brabant-bulls

    Plugin Contributor Nick Young

    (@nickyoung87)

    Sorry that didn’t quite work out. Maybe you could try using [if-ended][/if-ended] in your event template to set a specific class for events that have passed and then use CSS to style that specific class.

    You can find more about the template tags here also: https://docs.simplecalendar.io/event-template-tags/

    Thread Starter biels

    (@biels)

    Thanks for the suggestion, it looks great! I also used the [start-human] tag to indicate past events. I translated the word “ago” in the php itself for the time being. I’ll be glad to help with Dutch translations!

    Plugin Contributor Nick Young

    (@nickyoung87)

    Awesome glad that helped. I just submitted a request to have you added as a translation editor for the plugin for #nl_NL. I will update you once approved.

    Thanks!

    Plugin Contributor Nick Young

    (@nickyoung87)

    @biels,

    You are now approved to add the nl_NL translations!

    Hello Polyglots Please add @biels for #nl NL…

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Styling past events’ is closed to new replies.