WordPress.org

Support

Support » How-To and Troubleshooting » Background Image and CSS .date

Background Image and CSS .date

  • I’ve added a background image to my .date tag in my CSS file so that a banner that looks like old parchment paper appears each time an article is posted (it’s meant to resemble and old newspaper).

    So here’s an example of how it looks now:

    Banner (March 19, 2008)
    Article
    Banner (March 19, 2008)
    Article
    Banner (March 19, 2008)
    Article

    What I’d like to do, however, is code it so that the banner appears only once per “posting” day instead of each time an article is posted.

    For example:
    Banner (March 19, 2008)
    Article 1
    Article 2
    Article 3

    Banner (March 18, 2008)
    Article 1
    Article 2

    Is there a way to do that and could someone please explain how or point me in the right direction?

    Thanks!

  • The topic ‘Background Image and CSS .date’ is closed to new replies.