Title: CSS insanity
Last modified: August 18, 2016

---

# CSS insanity

 *  [jwwceo](https://wordpress.org/support/users/jwwceo/)
 * (@jwwceo)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/css-insanity/)
 * I have a link on one of my pages that I cannot get to work for me. It is within
   a div called categorylink. I want it to be color #cc9933 and just become underlined
   when it is hovered on.
 * I have the following entries in my CSS.
 * .categorylink {
    font-weight: bold; }
 * .categorylink a{
    font-weight: bold; color: #cc9933;
 * }
 * .categorylink a:hover{
    font-weight: bold; color: #cc9933; text-decoration:underline;}
 * It works fine when it rolled over…but the actaul link will not change color..
   is there something wrong with my second CSS entry????
 * Thanks in advance….
 * JW

Viewing 1 replies (of 1 total)

 *  [katgirl](https://wordpress.org/support/users/katgirl/)
 * (@katgirl)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/css-insanity/#post-469733)
 * I know its long winded, but try this:
 * .categorylink,
    .categorylink a {font-weight:bold;}
 * .categorylink a:link,
    .categorylink a:visited, .categorylink:hover {color:#CC9933;}
 * .categorylink a:hover {text-decoration:underline;}

Viewing 1 replies (of 1 total)

The topic ‘CSS insanity’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [katgirl](https://wordpress.org/support/users/katgirl/)
 * Last activity: [19 years, 7 months ago](https://wordpress.org/support/topic/css-insanity/#post-469733)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
