WordPress.org

Ready to get started?Download WordPress

Forums

Background Image and CSS .date (1 post)

  1. Seamhead
    Member
    Posted 6 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic