Hello,
Working with the 2010 Theme, I wanted to make my entire site wider (990px). I did that, but the header and menu bar needed to be updated. Eventually I found a post about creating a functions.php file for my child theme (I did not previously have one). So I did that and used code I found in a different thread:
<?php
define('HEADER_TEXTCOLOR', 'ffffff');
define('HEADER_IMAGE', get_bloginfo('stylesheet_directory') . '/images/header-default.jpg');
define('HEADER_IMAGE_WIDTH', 940);
define('HEADER_IMAGE_HEIGHT', 130);
// The site header function
function site_header_style() {
?><style type="text/css">
div#header {
background: url(<?php header_image(); ?>);
}
</style><?php
}
// The admin header function
function admin_header_style() {
?><style type="text/css">
#headimg {
width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
}
</style><?php
}
// Enable!
add_custom_image_header('site_header_style', 'admin_header_style');
?>
I copied and pasted it exactly and then changed width and height to 990 and 238.
Now my title area is using part of the header image as a background. There's a strip of the header image in the title area, a space and then the actual header image. Any help would be greatly appreciated.
My site is here: http://sumptuousart.com
Thank you,
~Steve