Remove 'posted on' and 'posted in'

Hi Can you give me the correct CSS to remove the line ‘Posted on and posted in’ under my posts. The one i tried did not work.

.post-meta {
display: none;
}

Hello @arievds,

Do you want to remove it on your Blog page, or on the separate blog posts?

Kind Regards, Roman.

Hi roman,

I would like to remove it on my blog page. But I am also interested in how to remove it on the separate blog posts.

Thanks,

Arie

Okay Arie,

  1. This CSS code will help you to remove it from your Blog page and all your posts:
.meta-post {
    display: none;
}
  1. This CSS code will help you to remove it only from your Blog page:
.blog .meta-post {
    display: none;
}
  1. This CSS code will help you to remove it from all your posts:
.single .meta-post {
    display: none;
}
  1. This CSS code will help you to remove it only from a certain post (just use the right id):
.postid-144 .meta-post {
    display: none;
}

You can add CSS code to your site with Simple Custom CSS plugin (just copy CSS code and paste it in Dashboard -> Appearance -> Custom CSS after installing and activating the plugin). Also you can add CSS code directly to style.css file of your child theme.

I hope that it will help you.

Kind Regards, Roman.