• Resolved rustybulb

    (@rustybulb)


    Hi,

    I just installed WP on my latest site https://slidingmitersawreviews.info/ and I like the default theme itself, but with the wide header image, the title space and the header menu, the content starts half way down the page – especially if visitors have half a dozen toolbars!

    So I thought “no problem; just go and change the header height in the style sheet”, but it only gives the width, and I don’t know how to change the code to make it have a thin header pic.

    When I tried adding an image of 940 width x 90 height, it would only let me upload a cropped image so it was the same dimensions as 940 x 198, the current size.

    Please ignore the awful header image at the moment. I thought it looked good yesterday!

    Anyone know how to make the header image only 940 wide x 90 px instead of 190 x 198 please?

    Current header code in Stylesheet:

    /* This is the custom header image */
    #branding img {
    	clear: both;
    	border-top: 4px solid #000;
    	display: block;
    	border-bottom: 1px solid #000;
    }

    it says this in the header code:
    ` <img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />
    <?php endif; ?>
    </div><!– #branding –>`

    thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The HEADER_IMAGE_HEIGHT is set in the file functions.php, not on my own pc at the moment so I cannot give an example.

    If you are going to edit the theme then you might want to consider creating your own child theme, as your changes can get overwritten by an automatic theme update.

    HTH

    David

    Thread Starter rustybulb

    (@rustybulb)

    Thanks Adeptris,

    I have now changed the height successfully.

    And I will look into child themes thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I Reduce Header Height in Twenty Ten Theme?’ is closed to new replies.