WordPress.org

Ready to get started?Download WordPress

Forums

WP Calendar
[resolved] wp calendar css settings not working (3 posts)

  1. dsg257
    Member
    Posted 1 year ago #

    Have a problem displaying categories the way i want them
    i want a white background with a colored border and same color text
    i altered the default code in FAQ for categories to the code below

    div.fc-event.category-5,				/* Royal Arch */
    div.fc-event.category-5 a {
        background-color: white !important; /* background color */
       border: 2px solid red;    /* border color */
       color: red;           /* text color */
        }

    I have 4 caregories using the exact same structure different colors and cat no
    But is still shows up with the background and border the same color with the test White

    Can anyone help explain why this is not working i have the fullcalendar.css in a child theme where i make the changes

    http://wordpress.org/extend/plugins/wp-calendar/

  2. AStar4
    Member
    Posted 1 year ago #

    I have same problem
    Can anyone help explain why this is not working

  3. dsg257
    Member
    Posted 1 year ago #

    if you use firebug on my site
    calendar
    you should see the css for the categories

    .fc-event.category-5,
    .fc-event.category-5 div
    {
    background-color: white;
    border-width: 2px;
    border-color: red;
    color: red;
    }

    .fc-event.category-6,
    .fc-event.category-6 div
    {
    background-color: white;
    border-width: 2px;
    border-color: purple;
    color: purple;
    }

    .fc-event.category-7,
    .fc-event.category-7 div
    {
    background-color: white;
    border-width: 2px;
    border-color: green;
    color: green;
    }

    .fc-event.category-8,
    .fc-event.category-8 div
    {
    background-color: white !important;
    border-width: 2px !important;
    border-color: blue !important;
    color: black ;
    }

    to hide the start time on calendar
    .fc-grid .fc-event-time {
    display: none;
    }
    use a plugin WP Show IDs to see correct id for category

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic