Changing header image height in Agentpress theme

Community Forums Forums Design Tips and Tricks Changing header image height in Agentpress theme

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  john gronley 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #64867

    john gronley
    Participant
    Post count: 124

    Hello;

    In Agentpress the header is added through the admin panel and is set for 960 px x 125 px. I know how to change the header area but the theme won’t let me upload anything more than 125px in height. Is there a way to get around this function and add the header image through FTP and therefore increase the height of the header image?

    Thanks

    http://dlund.com
    #64878

    braddalton
    Participant
    Post count: 9909

    Change the values on Line 27 of your child themes functions file:
    [php]
    /** Add support for custom header */
    add_theme_support( ‘genesis-custom-header’, array( ‘width’ => 960, ‘height’ => 125, ‘textcolor’ => ’333′ ) );
    [/php]

    The change the values in the CSS code:

    Line 174:
    [css]
    #header {
    color: #fff;
    margin: 0 auto;
    min-height: 125px;
    text-shadow: 1px 1px #000;
    width: 960px;
    }
    [/css]
    And line 231
    [css]
    .header-image #title-area,
    .header-image #title,
    .header-image #title a {
    display: block;
    float: left;
    height: 130px;
    overflow: hidden;
    padding: 0;
    text-indent: -9999px;
    width: 400px;
    }
    [/css]

    I think you can also upload the header to your images folder and simply change the CSS code without changing the PHP.


    #64886

    john gronley
    Participant
    Post count: 124

    Thanks Brad changing the functions php line 27 and also lines 174 and 231 in the style sheet did the job!

    Mucho Gracias

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

The topic ‘Changing header image height in Agentpress theme’ is closed to new replies.