Support » Theme: SemPress » Trying to get a shorter header image?

  • tmkpnhfr

    (@tmkpnhfr)


    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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

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

    tmkpnhfr

    (@tmkpnhfr)

    I don’t think so, but I have “editor” where I can directly edit the code.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

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

    tmkpnhfr

    (@tmkpnhfr)

    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.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    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?

    tmkpnhfr

    (@tmkpnhfr)

    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.

    tmkpnhfr

    (@tmkpnhfr)

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

    tmkpnhfr

    (@tmkpnhfr)

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

    Theme Author Matthias Pfefferle

    (@pfefferle)

    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Trying to get a shorter header image?’ is closed to new replies.