Hide blog post titles from blog page, index pages, archive pages, etc. SHOW ONLY ON BLOG POST

I want to hide the blog post title on all of my pages (and only use the featured images), but keep the title on the blog post itself.

My website is www.growinggraci.com

Thanks!

Hello there,

Please try adding this CSS code to Appearance > Customize > Additional CSS from dashboard.

    body:not(.single-post) .type-post .entry-header {
      display: none;
    }

Regards,
Kharis

This worked beautifully. Thank you so much!

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis

As noted, this worked for my blog page, category pages, etc. However, when I do any search in my search bar, it returns blank space where there should be blog post titles. It renders the search feature useless.

Could you please advise?

Thanks!

Hello there,

Please try adding this CSS code to Appearance > Customize > Additional CSS from dashboard.

    body.search .type-post .entry-header {
      display: block !important;
    }

Regards,
Kharis

Perfect! One more question - is there a way to reduce the font size of the blog post titles that return in search? They seem quite large.

Thanks!

Hello there,

Try adding this CSS code to Appearance > Customize > Additional CSS from dashboard.

    body.search .hentry .title-post {
      font-size: 26px;
    }

Regards,
Kharis