WordPress.org

Ready to get started?Download WordPress

Forums

Calendar
Category Colored Backgrounds (6 posts)

  1. tashinatyann
    Member
    Posted 6 months ago #

    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/

  2. daniel.garcia
    Member
    Posted 5 months ago #

    I have the same problem! please help!

  3. Kieran O'Shea
    Member
    Plugin Author

    Posted 4 months ago #

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

  4. trishzwei
    Member
    Posted 2 months ago #

    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.:(

  5. trishzwei
    Member
    Posted 2 months ago #

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

    Meant to add so you can look...

  6. Kieran O'Shea
    Member
    Plugin Author

    Posted 2 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.