Title: Wrong CSS applying?
Last modified: August 22, 2016

---

# Wrong CSS applying?

 *  [WTyrrell](https://wordpress.org/support/users/wtyrrell/)
 * (@wtyrrell)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wrong-css-applying/)
 * I have a WP site in development at [http://stalbansilford.org.uk/wordpress/](http://stalbansilford.org.uk/wordpress/).
   I’m using a child theme of Discovery. I have a sidebar widget showing recent 
   posts. The CSS which controls this in style.css is set as follows:
 * #calendar_wrap a {color: #FFF;}
 * Clearly this doesn’t show up on the white background, so have changed this to
   #
   calendar_wrap a {color: #000;},
 * in BOTH the original css file AND the child theme css (since the first didn’t
   work).
 * In fact neither works, and using Firebug I see that the actual CSS applying is
 * #calendar_wrap a {color: #FFFFFF;}
 * I’m at a loss – I can’t find this code anywhere in the site (have searched all
   the css files I can find and it’s not there.
 * Can anyone shed light on this?
 * Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [ajcwebcreations](https://wordpress.org/support/users/ajcwebcreations/)
 * (@ajcwebcreations)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wrong-css-applying/#post-5686074)
 * Hello,
 * Try placing !important next to the CSS styles you want to be applied. So for 
   example:
 * #calendar_wrap a {
    color: #000 !important; }
 * Let me know if this helps.
 * Andrew
 *  Thread Starter [WTyrrell](https://wordpress.org/support/users/wtyrrell/)
 * (@wtyrrell)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wrong-css-applying/#post-5686130)
 * Awesome! It worked! Thanks so much.
    Wendy
 *  [ajcwebcreations](https://wordpress.org/support/users/ajcwebcreations/)
 * (@ajcwebcreations)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wrong-css-applying/#post-5686155)
 * Great! Glad I could help!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wrong CSS applying?’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [ajcwebcreations](https://wordpress.org/support/users/ajcwebcreations/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/wrong-css-applying/#post-5686155)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
