What I'd now like to do is show two different body backgrounds at different times in the day. So between the hours of 6am and 5pm I'd like the body background to be (morning.jpg) and between 6pm and 5am I'd like to to display a different body background image (night.jpg).
Now on my home page, WP adds a class called "home" to my body tag, which i style like so:
.home {background: url(images/morning.jpg) repeat-x #fff;
What I'd now like to do is show two different body backgrounds at different times in the day. So between the hours of 6am and 5pm I'd like the body background to be (morning.jpg) and between 6pm and 5am I'd like to to display a different body background image (night.jpg).
How would I go about doing something like this?
Thanks in advance!
Where would I place that in my code?