WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Ten - no Header image (12 posts)

  1. DavidMjps
    Member
    Posted 4 years ago #

    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

  2. Safirul Alredha
    Member
    Posted 4 years ago #

    If you want to remove it completely, just go to Appearance > Header then Remove Header Image.

  3. AndreasDK
    Member
    Posted 4 years ago #

    That leaves a big white spot.

    See broen-fredericia.dk/website

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

  5. AndreasDK
    Member
    Posted 4 years ago #

    Thank you.

    Worked like a charm.

  6. wpweaver
    Member
    Posted 4 years ago #

    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.

  7. snaushads
    Member
    Posted 3 years ago #

    @ 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..

  8. Gouri
    Member
    Posted 3 years ago #

    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.

  9. dsvakola
    Member
    Posted 3 years ago #

    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?

  10. dsvakola
    Member
    Posted 3 years ago #

    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...

  11. laptopnet
    Member
    Posted 3 years ago #

    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?

  12. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic