View Full Version : Changing Font colour with style

08-02-2011, 01:29 PM
My Wordpress theme has a few styles that you can choose from, mostly just varying background colour. I have created my own style which is white but the header title and nav menu colour is white too. Im aware that I can just change it to black in the styles thats no problem.
Is there a way that I can tell it to only change to black when it uses the white style.


This is one of the pieces of code that needs to change:

#primary-nav ul a {
padding: 0 0 0 10px;
color: #FFFFFF;
font-weight: bold;
float: left;
font-size: 13px;
text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);

Im guessing it has something to do with the 'if' command, but I dont' know.

Thanks in advance