Featured Image shows in Header area after child theme creation

  • jmadrid2

    #3499

    Hello, I have made a child theme to change the header image to be 232 x 90 and also to include Adsense. This has worked fine, but now when I have a Featured Image on the page, it loads that image in the header area.

    Here is my style.css

    /*
    Theme Name: Graphene Child Theme
    Theme URI: http://www.mma-latino.com
    Description: Child theme for The Graphene Theme
    Author: Jose Madrid
    Author URI: http://www.mma-latino.com
    Template: graphene
    Version: 0.1
    */
    @import url("../graphene/style.css");

    #header{
    background-color:#F0F8FF;
    background-repeat:no-repeat;
    height:90px;
    margin-left:0px;
    width:232px;
    }
    .header-widget {
    position: absolute;
    margin-left: 233px;
    float: left;
    }

    Here is my functions.php

    <?php
    function graphene_custom_header_width(){
    return 232;
    }
    function graphene_custom_header_height(){
    return 90;
    }
    add_filter('graphene_header_image_width', 'graphene_custom_header_width');
    add_filter('graphene_header_image_height', 'graphene_custom_header_height');
    ?>

    Here is a post with the problem:

    http://www.mma-latino.com/leo-iturralde-%E2%80%9Cespero-poder-terminar-la-lucha-por-nocaut-o-por-sumision-en-el-primer-round%E2%80%9D.htm

    Here is a post that has no featured image and therefore works fine:

    http://www.mma-latino.com/edson-barboza-regresa-para-ufc-146.htm

Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.