Reduce header height Metro child theme

Community Forums Forums Design Tips and Tricks Reduce header height Metro child theme

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35977

    isolde100
    Participant
    Post count: 4

    I want to reduce the height of my header. I am using the Metro child theme on my site: http://www.muniwireless.com. Thanks for your help.

    http://www.muniwireless.com
    #36006

    braddalton
    Participant
    Post count: 7458

    There’s 2 values in your child themes style.css file you can change and another in your child themes functions.php file.

    Line 34 functions.php

    // Add support for custom header
    add_theme_support( 'genesis-custom-header', array(
    	'flex-height'	=> true,
    	'height'		=> 87,
    	'width'			=> 1080
    ) );
    

    And style.css

    Line 518
    #header {
    	min-height: 87px;
    	overflow: hidden;
    }
    
    And line 558
    
    .header-image #title,
    .header-image #title a,
    .header-image #title-area {
    	display: block;
    	float: left;
    	min-height: 87px;
    	overflow: hidden;
    	text-indent: -9999px;
    }
    

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

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

You must be logged in to reply to this topic.