• 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.

    https://www.newdestinyarts.com/blog

    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.
    Thanks.

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

    Thread Starter nejtech

    (@nejtech)

    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?

    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 https://getfirebug.com/ to solve those fundamental formatting questions.

    Thread Starter nejtech

    (@nejtech)

    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.