• There was a problem tonight with my hosting so ive lost all the changes ive made to my website since Sunday.

    Im trying to get the Header image to the top how it was before but there is still a gap.

    Here is the code which ive put in style.css

    #site-title, #site-description { display: none; }

    Also i changed the padding to 0px in style.css

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

    Here is the site – http://www.officechairs-reviews.com

    Ive also set the header image to it’s correct size in functions.php which is 940×90.

    define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 940 ) );
    	define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 90 ) );
Viewing 4 replies - 1 through 4 (of 4 total)
  • Don’t customise the Twenty Ten theme. Your customisations will be over-written the next time you upgrade WordPress or the theme. Create a child theme for your customisations.

    Thread Starter stevedw

    (@stevedw)

    Ok, After i create a child theme how do i move the header image up?

    So do i just need to create a directory called twentyten-child in the Themes directory then copy the style.css file into it? Then activate this theme.

    Im a bit unsure on exactly what the process is. It mentions that i need to name the template so it knows what the parent theme is.

    Does this mean i just need to copy the entire style.css file to the child theme’s directory then enter the template name in the style .css file.

    You’ll need to add:

    #wrapper {margin-top: 0;}

    to your child’s stylesheet.

    Codex is the font of all knowledge

    How to set up child themes :-

    http://codex.ww.wp.xz.cn/Child_Themes

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Header Image to low down’ is closed to new replies.