Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How do I remove the page listing menu in the header? I would like just the choosen header picture to show up without a listing of all of the pages on the site listed underneath.

Also at the very top or the page it displays the domain and title above the header. What is the best way to eliminate that and just have the header picture hug the top of the screen?

I and using the free theme Twenty Ten. Thank you in advance.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

there is a simple fix and that is removing line 103 in the themes header.php file but next time you update the theme it will return so to make you change permanent and still enjoy the updates first Create a child theme and then overwrite the header.php file in your child theme.

its sound hard but its really not:

First create a directory in your themes directory eg my_theme

Then create a new file named style.css and add this to it.

/*
Theme Name: Twentyten Child
Description: Child theme for the twentyeleven theme 
Author: Your name here
Template: twentyten
version: 0.1
*/`

@import url("../twentyten/style.css");

and last copy the header.php file from the twentyten directory to your my_theme and then remove line 103 from it (in your new theme directory).

share|improve this answer
    
line 103 in the header.php is "?>" without the quotes. When I deleted and saved it the site doesnt load properly any ideas? –  brandon Jul 15 '12 at 2:48
1  
@brandon What version of Twenty Ten are you using? In the latest version line 103 is <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> –  its_me Jul 15 '12 at 4:12
    
I am using version theme version 1.4. I found the line you mentioned - it was line 205 in my file. I am using a Program called Notepad++ to open header.php- is that my issue? Thanks in advance! –  brandon Jul 15 '12 at 10:22
    
Update: Rebooted and redownloaded header.php - that line was on 103 as expected. I removed the line uploaded and it worked Thanks you to all for your help! –  brandon Jul 15 '12 at 20:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.