WordPress.org

Ready to get started?Download WordPress

Forums

Do not display date image on homepage (4 posts)

  1. jennifer2010
    Member
    Posted 2 years ago #

    Hi everyone :)

    Here's the site: http://www.madchenarsch.de

    I'd like to remove the circular date image on WooTheme's "Bueno" theme that appears on the upper left hand side of each post.

    HOWEVER, I would only like it removed on the homepage. I would, however, like to have it displayed on the "Updates" page.

    I've tried using this css:
    #main .post .date {display: none}

    However that removes it from every page.

    Does anyone know a way I could only have it displayed on certain pages?

    Thank you so much!

    - Jennifer

  2. Marventus
    Member
    Posted 2 years ago #

    Hi Jennifer!
    Since your pages have different classes assigned to the <body> tag of the document, this should work:

    body.home #main .date{
    display:none;
    }
    body.page #main .date{
    display:block
    }

    Cheers!

  3. jennifer2010
    Member
    Posted 2 years ago #

    Thanks for the response!

    Unfortunately that did not seem to work, though :(

  4. Marventus
    Member
    Posted 2 years ago #

    Hi Jennifer.
    Are you sure the date image image is being generated by the page template? In the link you shared, I can only see two sections: Home and Test 1. I can see the date image HTML in the home page's source code, but in the second one's.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.