WordPress.org

Support

Support » Themes and Templates » Book Lite » Change header height

Change header height

  • I have read through another post (about wpshoppe) that addressed this, but it did not work for me.
    http://www.wpshoppe.com/forums/topic/custom-header-height/

    It mentioned:
    There are 2 places where you can change. Open inc/custom-header.php and look for 500. Change that to your need. Also in functions.php, there is this line

    add_image_size( ‘featured’, 1440, 500, true ); //(cropped)

    Change that 500 to your need.

    When I made these changes, nothing happened, I added height: 300px !important;
    to
    #masthead
    but again, nothing..

    How can I make this change?
    Thank you in advance.
    Aaron

Viewing 9 replies - 1 through 9 (of 9 total)
  • I know its the holiday season, but I could really use a hand on this. I have looked everywhere it seems.

    The height of the #masthead pushed the content down too much and I want to reduce the height to maybe 250px

    Little help?
    Thanks in advance.
    Aaron

    WPyogi

    @wpyogi

    Forum Moderator

    Without a link to your site, it’s really not possible for anyone to help with something like this.

    Sure it is, the theme has a specific height set someplace.. It doesnt matter what the URL is, but here you go…


    http://waterprana.net/

    Thank you..

    WPyogi

    @wpyogi

    Forum Moderator

    So are you wanting the “HOME” to be closer to the logo/header?

    Michael

    @alchymyth

    Forum Moderator

    in /inc/custom-header.php

    line 15:

    'height'                 => 500,

    and possibly line 102:

    $height = "500px";

    So are you wanting the “HOME” to be closer to the logo/header?

    Yes, the current height is 500, I want 250

    in /inc/custom-header.php

    line 15:

    ‘height’ => 500,

    and possibly line 102:

    $height = “500px”;

    Thats just it, Ive done that, but no change..

    I even statically set
    height: <?php echo $height; ?>;
    to
    height: 300px;
    on line 130

    but still nothing. I even added

    #masthead {
    		margin-top: 0;
    		height: 300px !important;

    to the stylesheet, but again, nothing…

    Crazy, I dont get why this would be hidden.

    Thanks for the replies..
    Aaron

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Where are you making this masthead CSS change?

    In the themes CSS file..

    I still cannot figure this out.
    Thanks in advance.
    Aaron

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Download the Jetpack plugin and use its Custom CSS functionality to hold your CSS changes.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Change header height’ is closed to new replies.
Skip to toolbar