Support » Plugin: Calendar » Category Colored Backgrounds

  • Resolved tashinatyann

    (@tashinatyann)


    I have color coded my categories, but when I view the calendar (as a user) there is no indication of these colors.
    My website an intranet site for a bank, so I cannot share much information.
    Any help would be greatly appreciated.

    https://wordpress.org/plugins/calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same problem! please help!

    Plugin Author Kieran O’Shea

    (@kieranoshea)

    Make sure that categories are enabled on the calendar options page in the admin panel

    My categories ARE enabled on the calendar options page. It looks like the color and the tool tip that displays on hover are hard coded into the code , rather than getting the color of the category of the event. I have no of yellow in any of my categories and that yellow is all that shows up on the page. For example: general’s color has been changed to: #578DB9 in the admin panel of the category.

    On line 2903 of calendar.php (starts with: $output)

    The background-color is hard coded into it as an inline style. That value might have to be a variable based on the category… unless that was not your intent. If not, It would be a nice feature to add.

    OR… you could instead class it based on category and then people can use the style sheet you set up in the options to make it what ever color they want? When it is an inline style it’s impossible to over write.:(

    ps: link to look at: http://asapdev.trishladd.com/

    Meant to add so you can look…

    Plugin Author Kieran O’Shea

    (@kieranoshea)

    The problem here is that the sidebar calendar is in use. As events from multiple categories could be present on one day it’s not possible to colour code the entire day based on just one event, thus a default colour is used in the sidebar calendar

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Category Colored Backgrounds’ is closed to new replies.