• Resolved ajmioc

    (@ajmioc)


    Hi There.
    I am enjoying your plugin but I am trying to change the background color of the event-date depending on the category it resides in. This is because the site we are using has 5 main event categories and I want to be able to display a list of them all but have them color coded for ease of distinction.

    .event-list .start-date, .event-list .end-date {
    text-align: center;
    width: 3.2em;
    border-radius: 5px;
    background-color: rgb(230,230,230);
    }

    I was going down the road of if category loops using different style sheets but I haven’t been able to get it to work.

    https://wordpress.org/plugins/event-list/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mibuthu

    (@mibuthu)

    This isn’t possible yet but I can set an additional class for each category in the next version. Then you have the possibility to set specific css code for specific categories.

    Plugin Author mibuthu

    (@mibuthu)

    A class with each category slug is available in the li elements of each event now. Check out the today released version 0.6.9.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Category Event date’ is closed to new replies.