• Resolved nimmerdk

    (@nimmerdk)


    Hi,

    Are there any max calendars that I can create custom colors for in CSS? I have 10 calendars and on the 2 last it won’t accept my color coding.

    And another question:

    I put the css code directly in the pgcal.css, is this the correct way to do it?

    These 2 it won’t accept and just uses the standard color:

    /* Hverdagshold 2 */
    .pgcal-event-8 {
    ?background-color: #0099cc;
    color: white;
    }

    /* 35+ */
    .pgcal-event-9 {
    ?background-color: #602040;
    color: white;
    }

    Thanks in advance

    nimmer

    The page I need help with: [log in to see the link]

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

    (@lbell)

    Howdy!

    It looks like you got it working (I see pgcal-event-9 is colored properly).

    As for where to put the CSS, I’d recommend using a custom CSS plugin (easier) or theme file (more involved) to add the CSS, otherwise your changes in pgcal.css will get overwritten with the next update.

    Closing this issue for now.

    • This reply was modified 10 months, 3 weeks ago by LBell.
    Thread Starter nimmerdk

    (@nimmerdk)

    Hi,

    Thank you for your answer, the pgcal-event-9 is colored properly but not the pgcal-event-8. I have now moved my CSS to a custom file, but the problem still exists.

    In my them I have a “Live CSS” button where I tried to put the CSS as well – this seems to solve the problem, although I’m not why it won’t load the colors in my custom css?

    Best regards

    Kim

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS color coding question’ is closed to new replies.