• Here’s what’s in my wp-layout.css:
    #wp-calendar td:hover, #wp-calendar #today {
    background: #c0c08e;
    color: #000;
    }

    No matter what I do to change the ‘color’ property, I see no effect on the web page.
    Thanks for any help.
    — southsou

Viewing 8 replies - 1 through 8 (of 8 total)
  • Which colour exactly are you wanting to change ?
    If I change background, I see a change …
    Have you tried putting #00ff00 as the colour ? It’s bright green, and will stand out on most pages ?

    Thread Starter southsou

    (@southsou)

    podz:
    I want to leave the background color as is. When I change the font color to black or white, it does not show up. Thanks.

    One thing .. if you see no change, on a windows machine press CTRL and F5 to force a hard refresh. It may be that the page is cached.

    Thread Starter southsou

    (@southsou)

    podz:
    Once again, thanks. The trouble apparently is due to the following code in wp-layout.css:
    a:link {
    color: #c0c08e;
    }

    This color is the same as the background color I chose for the ‘#wp-calendar #today’ selector. Apparently, the ‘color’ property of this selector overrides what I chose for the ‘color’ property in the ‘#wp-calendar #today’ selector. I thought that a property selector later in the CSS would override previous properties. But maybe it has to with the way the code is read by the php engine (a purely uninformed guess). In any event, if a date in the calendar is also a link to post on my page, the date gets the same color as the background and the ‘color’ property in #wp-calendar #today has no apparent effect.
    Does this make any sense?
    –southsou

    I could be wrong but I think you solve this by adding
    #wp-calendar #today a {
    background: #c0c08e;
    color: #000;
    }

    Thread Starter southsou

    (@southsou)

    ohdear:
    Thanks for the suggestion. I’ll give it a whirl.

    Thread Starter southsou

    (@southsou)

    ohdear:
    It works. Many thanks.
    — southsou

    No problem, glad it worked for you ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘#wp-calendar #today color change’ is closed to new replies.