Support » Themes and Templates » remove date from a post

  • Hi, I have added a content slider in a sticky post to my blog. I use the Yoko Theme. What I am having trouble with is removing the date, author and comments from the top of that post. You will see what I mean here.

    I have mainly tried reading the css file, and using firebug to see if I could identify what element I could switch off, but I don’t think I am getting it. Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you try to add .entry-header p {display:none} to your style.css? Or remove the entry from your index.php

    I tried adding .entry-header p {display:none} to the css, but that removes headings and dates from many other posts, typically the ones formatted to show videos.

    I am trying to remove the date and author from the top post on the homepage only.

    Looking at index.php, I was not able to identify any entry that controls the date on posts.

    Thanks for the suggestion. Do you have any other ideas?



    Forum Moderator

    you can make the style more specific, for example:

    .home .post-217 .entry-header p { display: none; }

    try working with a browser tool such as Firebug to solve those fundamental formatting questions.

    Thanks sooo very much. That worked.

    Now to read the css and figure out what exactly I need to do in such cases, I will have to really study that. But this is a good example of how to go about it. You helped get me off the ground. Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘remove date from a post’ is closed to new replies.