• I am working on a site http://ericmschwanke.com

    With this theme It is calling for the uploaded header image as seen below. I can easily change the size from page to page but how would I go about overriding the header for specific pages?

    This is the code in the PHP file.

    //* Get uploaded logo
    $logo_upload = get_theme_mod( ‘logo_upload’ );
    if( $logo_upload != ” ) {
    add_action(‘genesis_header’, ‘industry_custom_logo’, 5);
    function industry_custom_logo() {
    echo ‘<div class=”header-logo”><img src=”‘ , get_theme_mod(‘logo_upload’) , ‘” alt=”‘ , get_bloginfo ( ‘name’ ) , ‘”></div>’;
    //Remove site title and description
    remove_action( ‘genesis_site_description’, ‘genesis_seo_site_description’ );
    remove_action( ‘genesis_site_title’, ‘genesis_seo_site_title’ );
    }
    }

    //* Get header textarea
    $header_text = get_theme_mod( ‘header-textbox’ );
    if( $header_text != ”) {
    add_action(‘genesis_header’, ‘industry_header_text’, 10);
    function industry_header_text() {
    if (is_front_page()) {
    echo ‘<div class=”header-text”>’ , get_theme_mod(‘header-textbox’) , ‘</div>’;
    }
    }
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ericmschwanke

    (@ericmschwanke)

    any thoughts?

    Also need help with my mobile navigation background if possible.

    Thread Starter ericmschwanke

    (@ericmschwanke)

    When I use something like this…

    .page-id-15 .header {
    background-image: url(../images/cofee.jpg);
    background-position: left top;
    margin: 0px;
    padding: 0px;
    float: left;
    height: 270px;
    width: 980px;
    }

    It only adds a logo behind my current logo that was uploaded from the sits Appearance-Customize option and screws up the position of both images.

    I’m sorry but as you appear to be using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not have access to, nor do we support, commercial products here. Try http://www.studiopress.com/support

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Genesis Theme – Industry child theme Header questions’ is closed to new replies.