Changing Size of Custom Header Image

  • Author
  • #839083



    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,


    The blog I need help with is



    The blog you specified at does not appear to be hosted at

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

    If you don’t understand the difference between and, 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.



    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/



    Apologies, please delete this post.



    No problem amd best wishes.

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