• The theme I am using display all posts on the front page with their date.
    I want to hide the date for some posts.

    This code in the Child theme style.css hides the dates on all posts

    .month
    {
    display:none;
    }

    Can I use custom fields to hide the date on only some posts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What theme are you using? Where did you download it from?

    Thread Starter RedParty

    (@redparty)

    TheStyle from ElegantThemes

    As that’s a commercial theme, there’s only so much we can help with here. I’d actually suggest that you try using Firefox with the Firebug add-on (or whatever developer tool is available in your web browser) to examine the markup being generated in your posts and see if you can utilise that to hide the dates on specific posts.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Conditional formatting in CSS’ is closed to new replies.