WordPress.org

Ready to get started?Download WordPress

Forums

Book Lite
Change header height (10 posts)

  1. shaman420
    Member
    Posted 1 year ago #

    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

  2. shaman420
    Member
    Posted 1 year ago #

    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

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

  4. shaman420
    Member
    Posted 1 year ago #

    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..

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    in /inc/custom-header.php

    line 15:

    'height'                 => 500,

    and possibly line 102:

    $height = "500px";
  7. shaman420
    Member
    Posted 1 year ago #

    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

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Where are you making this masthead CSS change?

  9. shaman420
    Member
    Posted 1 year ago #

    In the themes CSS file..

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

  10. Andrew
    Forum Moderator
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic