• Hi,

    Site: https://www.theapplesource.com

    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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing Size of Custom Header Image’ is closed to new replies.