• Resolved williamsjasen

    (@williamsjasen)


    Hi all,

    I’m looking to redo my site, so I have a trial set up at capevineyard.com/trial. I am using the twenty eleven theme, with a child-theme for editing.

    I’m trying to remove the page title information, and I haven’t been having any luck. I’ve followed several different threads in the forum, but they haven’t worked.

    I’ve removed this code from content-page.php and didn’t work: <header class=”entry-header”>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    </header><!– .entry-header –>

    And I tried putting this in the style.css: .entry-title { display: none; }

    But nothing seems to be working. Anyone able to help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter williamsjasen

    (@williamsjasen)

    I figured it out. I added this to style.css

    #site-title a {
    display: none
    }
    #site-description {
    display: none
    }

    Hi there!

    One way is to place this line of code: text-indent: -9999px;
    in this block:

    #site-title a {
    	color: #111;
    	font-size: 30px;
    	font-weight: bold;
    	line-height: 36px;
    	text-decoration: none;
    }

    This will move the page title out of sight.

    Regards.

    Edit: Forgot a ;

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Page Title’ is closed to new replies.