How do I prevent a page from displaying the page title?

  • Danielpdx

    #6636

    Hello, How do I prevent the page title from displaying on the page. I want to display my own title in an H1 tag.

    See the example in the following link.

    http://www.cursodecomputacionbasica.com/cursos-de-computacion/

    Prasanna SP

    #35103

    Add this to Custom CSS or child-theme style.css

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

    Danielpdx

    #35104

    This removes the titles from the blog posts aswell. I only want to remove them from pages.

    Luko

    #35105

    Did you try?

    I did apply that code on your site through Firebug and it’s working as it supposed to. Removes titles from pages only (not from posts).

    Prasanna SP

    #35106

    This does not remove title from posts since pages have body class page and posts have single.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.