Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Jun 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing Font colour with style

    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.

    http://creative.jigowatt.co.uk/servi...-distribution/

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

    Code:
    #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
    Last edited by creativeedge; 08-02-2011 at 01:30 PM. Reason: link


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •