Changing Size of Custom Header Image

  • Author
    Posts
  • #839083

    hamchapman
    Member

    Hi,

    I’ve got the iTheme2 theme installed on my site, and I would like to add a custom header, in this case, an image. I have successfully managed to do so, but the size of the header seems fixed and I cannot seem to make it smaller no matter what I try.

    I made a child version of the theme so I could edit it and I found this line in the header.php file:

    <img id=”custom-header-image” src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />

    I then found where the HEADER_IMAGE_WIDTH (and HEIGHT) references were (in functions.php), so I tried changing the numbers in there, but this gave all sorts or replication errors.

    So my question is how can I make it so that I can have a custom header, which is an image, which I can change the size of as well.

    Thanks a lot,

    Hamilton

    The blog I need help with is www.theapplesource.com.

    #839180

    supportbot
    Member

    The blog you specified at http://www.theapplesource.com does not appear to be hosted at WordPress.com.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

    #839182

    timethief
    Member

    Your site is not hosted on WordPress.COM and you are posting to the wrong support forum. This forum is for support of sites hosted on WordPress.COM. Your support questions must be posted to the correct support site for your softwareand that is here http://wordpress.ORG/support/

    #839183

    hamchapman
    Member

    Apologies, please delete this post.

    #839184

    timethief
    Member

    No problem amd best wishes.

The topic ‘Changing Size of Custom Header Image’ is closed to new replies.