• I’m using the Twenty Ten theme. The width of the banner seems to be locked at 940×198. My banner is 997×283. How do I increase the banner width and height to fit it? And where do I place it within the code inplace of the path.jpg (name of the default banner)? Also, I know I’ll have to widen the background to accommodate this so how do I do it? Thanks..

Viewing 15 replies - 1 through 15 (of 18 total)
  • goto line no 110 in functions.php file and change the following 2 lines

    define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 997 ) );
    	define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 283 ) );

    Thread Starter shade3134

    (@shade3134)

    Thanks, but how do I expand the wrapper to accommodate this change? The banner is bleeding out the wrapper:

    https://www.sofarhome.com

    edit the style.css file with

    #access .menu-header, div.menu, #colophon, #branding, #main, #wrapper {
    margin:0 auto;
    width:997px;
    }
    
    #access {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:#000000 none repeat scroll 0 0;
    display:block;
    float:left;
    margin:0 auto;
    width:997px;
    }

    this css already there. You just change the width 940 to 997

    Thread Starter shade3134

    (@shade3134)

    Thanks! Also, how do I move it around? I want it to line up with the one on my other page.

    Push it up rather. Where the name “So Far Home” is at. I really want to just remove that altogether.

    i don’t understand it. Can you give me any demo or explain briefly

    Thread Starter shade3134

    (@shade3134)

    Push it up rather. Where the name “So Far Home” is at. I really want to remove that name bit anyways.

    This is what I’m referring to:

    https://www.sofarhome.com

    I want it to line up with the banner that’s seen here:

    https://www.sofarhome.com/chat

    remove this from header.php file

    <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    				<<?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; ?>>

    Thread Starter shade3134

    (@shade3134)

    Thanks! That got rid of the name thing. How do I push my header up:

    https://www.sofarhome.com

    To match where the one at:

    https://www.sofarhome.com/chat

    I basically want to find out how to move the header around. I want it to fill that white space towards the top of the wrapper.

    #header {
     margin: 0px;
     padding: 0px;
    }

    in css file

    Thread Starter shade3134

    (@shade3134)

    To move ‘up’ which do I change? I’m about a few weeks in to this .css stuff. lol

    edit the css file. Search the #header css and change it

    #header {
    margin: 0px;
    padding: 0px;
    }

    Thread Starter shade3134

    (@shade3134)

    Well I’ve changed it to that but there’s still a little space at the top:

    https://www.sofarhome.com

    I want to only leave a hair left of white between the banner and wrapper at the top.

    Thread Starter shade3134

    (@shade3134)

    Bump. Still need to figure this out..

    Thread Starter shade3134

    (@shade3134)

    Bump.

    edit the style.css (line 355)

    #site-description {
    clear:right;
    float:right;
    font-style:italic;
    margin:0 0 10px;
    width:220px;
    }

    replace with above code.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘How to adjust banner and background sheet width?’ is closed to new replies.