• I am a novice. I want to eliminate the site title and tag line and substitute my logo and tagline above the photo I am using for the header. I can create a single image combining these three elements but I don’t know how to increase the height of the header. Or maybe there is a better way. Can anyone help me? Thanks.
    Al Blixt
    https://www.moregrads.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • i can only show you the door.. youre the one who will have to walk through it… that link would be better if i actually had a solid answer for you,
    but i would look at my old post relevant to yours for a head start on figuring your question out

    https://www.ads-software.com/support/topic/remove-blog-title-and-description-1?replies=2

    this shows you how to remove the entire space above the banner, so from here you may figure out what youre looking for specifically

    edit the header.php of your theme

    Comment like this

    <!--
    				<<?php echo $heading_tag; ?> id="site-title">
    					<span>
    						<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    					</span>
    				</<?php echo $heading_tag; ?>>
    				<div id="site-description"><?php bloginfo( 'description' ); ?></div>
    -->

    edit the functions.php of your theme, search

    // 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', 940 ) );
    define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 115 ) );

    Can you tell me how to remove the black bar and black border on the top of the header?

    I’ve been looking through the styles.css and header.php and functions.php.

    I can’t figure out this out. Even if you can tell me how to make it a different colour, rather than black that would be great.

    thanks,

    If it’s the border on top and bottom of the image, you need to go and edit the style.css file under the header section and remove the borders so it reads like this:

    /* This is the custom header image */
    #branding img {
    	clear: both;
    	display: block;
    }

    That should work.

    authentictech

    (@authentictech)

    Seriously consider doing this using child themes, and not by editing the TwentyTen theme itself, as suggested above, as all your changes will be overwritten the next time TwentyTen is updated.

    Hello!

    I’m having a problem trying to change the functions.php in order to resize the header – when I update the functions.php file after having changed the height filter from 198 to 70, the page “disappears”. It turns white and won’t show up, the same goes for the entire blog itself. I solved *that* problem by re-uploading the original file, but how can I change the header height without getting this problem?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing header height in TwentyTen’ is closed to new replies.