Reg Gordon
Reg Gordon

Reputation: 253

Body Class Being Applied How To Use?

Hello i have noticed on my theme that i seem to be getting some kind of body class (??) applied whe i enter a 'section' of my drupal website.

firebug css

I have no way of knowing how to use this. Could anyone explain more fully to me? thanks

I have tried this so far but with no effect-

    body.science {
background: none repeat scroll 0 0 yellow;
}

body.science a:link {
color:blue;

}

Upvotes: 1

Views: 62

Answers (1)

Antony
Antony

Reputation: 15106

On line 28 you have a style defined (remove that part about a and you will be fine):

<style type="text/css">
    a:link, a:visited {
        color:#242424
    }
    a:hover {
        color:#CD2A2A
    }
    a:active, a.active, li a.active {
        color:#CD2A2A
    }
</style>

Upvotes: 2

Related Questions