• Resolved timothyp

    (@timothyp)


    Hello,

    I’m not a CSS whizz, not yet anyhow, and I’d like to remove the page title from my pages, particularly the front page. By page title, I mean the title that you have to give to each post/page when you are creating it.

    I’ve searched the forums for answers, but the suggestions that people give – to remove a piece of code that looks like this “<h2>” title=”<?php the_title(); ?>”><?php the_title(); ?></h2>” in the “page.php” file doesn’t actually exist.

    I’m using a child theme created from TwentyEleven, which has had a few minor modifications to it.

    Could anyone give me a hand? Am I looking in the wrong place or what?

    Many thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Site url?

    Thread Starter timothyp

    (@timothyp)

    handmadecrafthouse.co.uk.gridhosted.co.uk

    Try adding:

    body.page .entry-header h1 {
    position:absolute;
    top:-9999px;
    left:-9999px;
    }

    to your child’s stylesheet.

    Thread Starter timothyp

    (@timothyp)

    Super!

    Thanks very much!

    Just out of interest, in quick laymans-terms, what did that do? I mean, how did that work?

    It actually moved the titles on static Pages off the screen of graphical browsers. This leaves the page titles still available to those who use screen reading software and (equally important) Google.

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

The topic ‘Remove Page title’ is closed to new replies.