• Resolved windomearle

    (@windomearle)


    Hi there!

    How can I reduce the header height? I already tried several things but nothing seems to work.. Also I read this thread http://ww.wp.xz.cn/support/topic/change-dimensions-of-wordpress-custom-header?replies=6 but there are not such lines in “functions.php” :-/

    define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 760 ) );
    define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 200 ) );

    Of course I do understand that post has already 2 years. Any help is welcome! Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi windomearle

    There is a heading padding option in the premium version under Appearance > Customize > General: Header Padding.

    Alternatively try this in a Custom CSS plugin:

    /* Header */
    
    header#masthead hgroup {
    padding-bottom: 45px !important;
    padding-top: 45px !important;
    }

    Adjust 45px as required.

    Kind regards

    Andrew

    Thread Starter windomearle

    (@windomearle)

    Hi Andrew,

    That didn’t work for me, that is the CSS that worked for me, using a custom CSS plugin:

    hgroup.full-container {
    height: 100px !important;
    padding-top: 10px !important;
    padding-bottom: 35px !important;
    }

    Thanks anyway though! Best regards from windomearle

    Hi windomearle

    Awesome, glad to hear you managed to resolve. Thanks for posting your solution.

    All the best.

    Andrew

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

The topic ‘how to reduce header height’ is closed to new replies.