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

    I have a website where some pages have transparent headers and I’d like to use different logos on these pages. I have used the following code (see private content) to update my logo, but it only updates the logo once I scroll down, and the transparent header goes away. How do I change the logo that is being used when the header is “transparent”?

    Thanks,
    Bill

    #452602

    Hi bjconcan!

    Please use following code instead

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    if(is_page( 'contact' ) )
    {
        $sub .= "<img src='http://kriesi.at/wp-content/themes/kriesi/images/logo.png' />";
    }
        return $sub;
    }

    Regards,
    Yigit

    #501327

    Hi Yigit

    I opened new topic

    thanks a lot

    Mario

    • This reply was modified 8 years, 7 months ago by Mario.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Using different logos on different pages with transparent headers’ is closed to new replies.