Timebased CSS

  • Author
  • #144820


    Hello, I’m trying to add timebased CSS to my site – that is, when it’s night, I want to have a night based header image, and when it’s day, I want to have a day based header image. Is this possible in just CSS? I know it would be really easy if I could use php, but to my knowledge I cannot.

    Any help would be great



    We cannot access our blog templates on this wp-MU multiuser blogging platform at wordpress.com. If we could access and edit them then every other blog with the same theme would be likewise changed.

    If you want that kind of control over your template I would like to suggest the other wordpress alternative. You can download free-standing software from http://wordpress.org and either self host or you can hire a web host.

    More information here http://faq.wordpress.com/2006/05/07/wordpresscom-vs-wordpressorg/ and here https://en.forums.wordpress.com/topic.php?id=3700

    I’ll leave it to a css guru to help you with your question though. Best wishes. :)




    The only one I’ve ever seen was this: http://www.1976design.com/blog/

    Right now it has a night sky with moon and stars (which isn’t surprising as it’s 0135 here).

    As for how – like TT says, you need to be not here.



    Wait…holdon…I just got an idea.

    There’s the Weather Pixie site that does something like this. Google “Weather Pixie” or go to my blog and click on the pixie in the sidebar (weather flapper is the one I have). They do something like this. You could look at their code (nobody’s figured it out yet, though) or ask them how they do it. It’s not javascript, that I know.

The topic ‘Timebased CSS’ is closed to new replies.