I’m using the latest Minimum theme and desire to use a different size header image than what the standard specs call for. (for example, 800 X 165) My initial instinct would be to find the css associated with the header and change it in there. But when I posed this to support, they mentioned the functions php would need to be edited as well.
So, what are the locations (css and function.php) of where the specs (width and height) need to be adjusted. Or, is this a bad idea in that the header image size is meant to accomdate other structural components of the theme?
/** Add support for custom header */
add_theme_support( ‘genesis-custom-header’, array( ‘width’ => 960, ‘height’ => 100, ‘textcolor’ => ‘444’, ‘admin_header_callback’ => ‘minimum_admin_style’ ) );
This line in the functions.php file will have to be adjusted, too. It defines the width and height of the custom header function that one can use by way of the Appearance>Header function accessed through the Dashboard. So you can change the CSS alone (and you’ll have to change the CSS of the #header), but if you didn’t also change the width/height here, your changes wouldn’t display properly.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.