How To Hide Or Remove WordPress Page And Post Titles With CSS

WordPressHow to hide or remove WordPres page and post titles (without actually changing them)  from a single page or post, using simple CSS.

There are many reasons to hide a page or post title on WordPress, titles can often get in the way for WordPress websites which operate outside the blogophere, meaning websites which operate as more than “just a  blog”.

Removing the actual title from a page or post, is not what we have in mind. Though removing the title altogether is an easy solution, your title could show up as a blank line on archive pages and lists.

[Note]Information Needed: Your Page/Post ID and TitleLocating WordPress Page And Post IDs[/Note]

Hide Page Titles

Copy and paste Copy and paste the CSS snippets below into your style.css or custom.css file.
[Normal_Box]

.page-id-0000  .entry-title {display: none;}

[/Normal_Box]

Hide Posts Titles

Copy and paste Copy and paste the CSS snippets below into your style.css or custom.css file.
[Normal_Box]

#post-0000 .entry-title {display: none;}

[/Normal_Box]
[Note]Tip: Center WordPress page/post titles using HTML: <center>Title</center>[/Note]

Sean Doyle

Sean Doyle is a tech author and engineer with over 20 years of experience in cybersecurity, privacy, malware, Google Analytics, online marketing, and other topics. Sean's content has been featured in numerous publications.

10 Responses

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.