I’d like to try switching the background colour of my blog on each visit automatically, ala tweetCC.
I have the following script, placed it in the header.php of my WordPress theme folder but its not calling the colours.
Do you have the class names it gives to the body element in your css file?
For example <body class="bg-color-340d0e">. If you havent got that class in your css file nothing will happen ofcourse.
Ahhh, that would be it. Thanks Argeaux.
Not quite there, I can get the background switching two colours and default to white… This is my CSS:
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed