Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1374626

    hi,
    is it possible over quick css to put 2 different logos in the header?
    I would like to have the main logo on every page and a diffent one just on one page.
    Would be great igf that is possible :)

    Many greetings rixi

    #1374637

    Hi,

    Thanks for contacting us!

    Please refer to this post – https://kriesi.at/documentation/enfold/logo/#change-the-logo-image-on-some-page

    Let us know if you need assistance with that :)

    Regards,
    Yigit

    #1374648

    Hi Yigit,
    i will try that out, thanks a lot!
    So i put this folllowing code in the functions.php and just change the logonames or is there more to do?

    Many greetings rixi

    // Change Logo image
    add_filter(‘avf_logo’,’av_change_logo_img’);

    function av_change_logo_img($img)
    {
    if( is_front_page() )
    {
    $img = “logo-home.png”;
    }
    if( is_page(‘contact’) )
    {
    $img = “logo-contact.png”;
    }
    return $img;
    }

    #1374685

    Hi,

    That should be it yes, please try it out.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.