• Trying the Twenty Ten theme and I’d like to remove the ‘Header Image’, from all pages / posts.

    Is this controlled in the Header.php file? and what would I need to remove or comment out?

    Regards
    David M

Viewing 11 replies - 1 through 11 (of 11 total)
  • If you want to remove it completely, just go to Appearance > Header then Remove Header Image.

    That leaves a big white spot.

    See broen-fredericia.dk/website

    Moderator Dominik Schilling

    (@ocean90)

    WordPress Core Developer

    Thats right, you can remove line 56 (<?php) to 66 (<?php endif; ?>).

    Thank you.

    Worked like a charm.

    You could also try my new Twenty Ten child theme, Twenty Ten Weaver. It lets you do that from a menu setting, and tweak lots of other stuff as well.

    @ ocean90
    thanks, it worked really simple…

    @ wpweaver
    your themes are Awesome, simple, elegant,
    but i dont know why the MENU Order Changes….when i use Weaver and Remains Normal when i use TTen..pls guide

    anyways
    thanks for the cool theme..

    Go to your header.php in the twenty ten template file and look for the following code:
    <img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />

    Comment it out so that it looks like this:
    <!– <img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />–>

    That’s it, you’re done. Check out my photo blog where I have removed the header using this.

    As suggested by ocean90 above –

    Thats right, you can remove line 56 (<?php) to 66 (<?php endif; ?>).

    It worked on my website too…

    But the code he suggested to remove was from line 68 to 78…?

    Does this change in positions of lines takes place from site to site, or what…?

    One more question…
    Now that the header image in Twenty Ten is now removed on my website, how can I remove the simple text-title of my website and put some small image with a logo of my own?

    I also tried WPWeaver, but it is again appearing to be ‘heavy’…

    Can anybody tell me that how can we just produce ‘curves and sharp border’ to the Twenty Ten theme itself, without going for wpweaver or anything else…?

    I JUST LOVE TWENTY TEN…IT IS THE LIGHTEST THEME EVER…

    I am using Trenty Ten theme. I would like to use head image area to inser advert. Ideally, I would like to use my logo image as background appear in left side of this head image area, and use right half for a advert space.
    Any one can help?

    Don’t edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress. For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Twenty Ten – no Header image’ is closed to new replies.