Hey guys, I wanted to make my forum change header image when the time is day/night. Here is an example of what I am talking about (see attached image).
You need to specify the image paths. You can also change the daylight hours. The above code will use the "day" image if the time is between 8am and 8pm (08:00 to 20:00 on a 24 hour clock).
That background is probably specified in the CSS. More than likely you will need to create two CSS classes, one for each background, and then use the condition to call on the two different CSS classes.
For example, edit this template:
Admin CP -> Appearance -> Templates -> EXTRA.css
Specify your classes with the two background images:
Your background is in #header. This proved more complicated than I thought what with the header mover and proxy and whatnot. I wasn't able to get it working.
I wish I could put the condition directly into the CSS.