WordPress.org

Ready to get started?Download WordPress

Forums

SemPress
Trying to get a shorter header image? (10 posts)

  1. tmkpnhfr
    Member
    Posted 1 year ago #

    I think the header image is constrained to 200 px high. Is there any way to reduce this to say.. 150 or less? There's a lot of empty space between the top of the page and my content.

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Do you have a section in the dashboard named, "Custom CSS", "Custom Styles" or "Jetpack", or are you using a Child Theme?

  3. tmkpnhfr
    Member
    Posted 1 year ago #

    I don't think so, but I have "editor" where I can directly edit the code.

  4. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Can you provide a link to your webpage with the header image?

  5. tmkpnhfr
    Member
    Posted 1 year ago #

    Well, I've just pretty much erased most of what I had up. It had proportions similar to what's up now.

    http://www.stereobotic.com

    I'd just like to be able to have less "padding" above and below the stereobotic text in the image.

  6. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    I think for that modification you'll need to edit the image itself.
    The image has space above the text.
    http://www.stereobotic.com/wp-content/uploads/2013/03/Blueheader1.png

    Is that the space you're referring to?

  7. tmkpnhfr
    Member
    Posted 1 year ago #

    Also.. Do you know if transparency is possible with the background of the body? If I had a full screen background image, would I be able to have it show through the layout boxes?

    Thanks for your time.

  8. tmkpnhfr
    Member
    Posted 1 year ago #

    Yeah. That's the space. If I make the image less than 200px, sempress makes me crop it to the same ratio.

  9. tmkpnhfr
    Member
    Posted 1 year ago #

    If the image isn't 200px high, it makes me do this.

  10. pfefferle
    Member
    Theme Author

    Posted 1 year ago #

    You can change it by using for example a child theme and replacing the following

    // This theme supports a custom header
      $custom_header_args = array(
        'width'         => 950,
        'height'        => 200,
        'header-text'   => false
      );
      add_theme_support( 'custom-header', $custom_header_args );

    by the dimentions you need, in the child themes functions.php

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags