I am trying to add a custom header (960x70px)
The child theme I have created is based on twentyeleven, the current header image is a placeholder.
I tried adding this code to functions.php:
// The height and width of your custom header. You can hook into the theme's own filters to change these values. // Add a filter to twentyten_header_image_width and twentyten_header_image_height to change these values. define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 960 ) ); define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 70 ) );
I have also tried all sorts of edits on my style.css but I haven’t been successful
I believe the default page width is 1000px. I also think that the header image is 1000x288px by default. What I am looking for is where I can edit these values. I also want to add an image map to the header with clickable hotspots but I think this will be simple once I learn where to look.
- The topic ‘adjust page width and header image dimensions’ is closed to new replies.