Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello.
    Would you try adding this to your child-theme functions.php ?

    add_action('wp', 'use_different_banner');
    function use_different_banner(){
        global $wp_query;
        if ( ! $wp_query->is_posts_page )
            return;
        // remove the line below if you don't want the logo centered
        add_filter('tc_get_option', 'center_logo', 10, 2);
        add_filter('tc_logo_src' ,'new_banner');
    
        // remove also this function is you don't want
        // the logo centered
        function center_logo($value, $option){
            if ( $option != 'tc_header_layout' )
                return $value;
            return 'centered';
        }// end of center_logo
    
        function new_banner($logo){
            $img_url='https://www.ethicalisbeautiful.com/eib/wp-content/uploads/2014/12/eibblogbanner.jpg';
            return $img_url;
        }
    }

    Hope this helps

    Thread Starter ethicalisbeautiful

    (@ethicalisbeautiful)

    Hi there,

    Thanks for your suggestion, but it did not work. I created a child theme and pasted the code into the functions.php, cleared browser cache to see if it would show up, but nothing. I’m not well versed in code, so I’m sure I’m missing some small but necessary step! I appreciated the help:)

    Hi @ethicalisbeautiful
    Did you activate the child-theme you created?

    Thread Starter ethicalisbeautiful

    (@ethicalisbeautiful)

    Oh duh! I just did and it worked, thanks:)

    You’re welcome.
    Could you mark this topic as resolved?
    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Banner Image on Single Page’ is closed to new replies.