Wordpress remove title on specific page

2 replies
  • WEB DESIGN
  • |
I just want to share something about the entry-title on Wordpress. It works on Hybrid theme

How to hide the title on one specific page:

If you inspect element on the page you want the title to be gone then you will noticed an id with a name like post-6528. Numbers would be different.

So in css you it looks like this:

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

Also on my new blog:

Remove title on on specific page - My Blog | My Blog
#page #remove #specific #title #wordpress
  • Profile picture of the author WebEminence
    I typically create a different page template with the title removed when I need to. So I can easily select it for any page where I don't want the title displayed. Then you are actually removing code rather than adding extra CSS.
    Signature
    {{ DiscussionBoard.errors[7136256].message }}
  • Profile picture of the author clickbump
    Good tip. This works on ANY theme that writes out the post title (most do). For example, on my theme the custom css (using your example page) would be:

    Code:
    #post-6528 h1.posttitle {
    display: none;
    }
    Note: "display:none" completely removes the element from the visual layout. If you want to "hide" the element, but preserve its spacing in relation to other elements around it, you can use "visibility:hidden" instead.

    Code:
    #post-6528 h1.posttitle {
    visibility:hidden;
    }
    Signature
    {{ DiscussionBoard.errors[7138867].message }}

Trending Topics