Changing header code in functions.php
-
I’m having trouble changing the header image height in functions.php. I created a child theme functions.php file with nothing in it but this:
define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'brunelleschi_header_image_height', 300) );
The original code says 198 for the height and I have changed it to 300. The Dashboard now says the image will be 300 px tall, but when I put in an image it gets scaled back down to the original 198 even though I changed the code.
Are there other lines of code I should be using?
- The topic ‘Changing header code in functions.php’ is closed to new replies.