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 2 years, 1 month ago.

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

    john gronley


    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?



    Change the values on Line 27 of your child themes functions file:

    /** Add support for custom header */
    add_theme_support( ‘genesis-custom-header’, array( ‘width’ => 960, ‘height’ => 125, ‘textcolor’ => ‘333’ ) );

    The change the values in the CSS code:

    Line 174:

    #header {
    	color: #fff;
    	margin: 0 auto;
    	min-height: 125px;
    	text-shadow: 1px 1px #000;
    	width: 960px;

    And line 231

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

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


    john gronley

    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.