Changing Height of Header Size in Agent Press Theme?

Community Forums Forums Design Tips and Tricks Changing Height of Header Size in Agent Press Theme?

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  braddalton 8 months, 4 weeks ago.

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

    Liz
    Participant
    Post count: 6

    I was wondering if anyone could suggest how to change the height of the header in the Agent Press theme?

    #53006

    RobG
    Participant
    Post count: 992

    Please post the link to the website in question.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #53012

    braddalton
    Participant
    Post count: 7473

    You can change it in your child themes style.css file and functions.php files.

    Line 27 of functions.php, changed the height value from 125.

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

    If needed, you can also change the value in the CSS on line 175

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

    And Line 231 of your child themes style.css file

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

    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

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

You must be logged in to reply to this topic.