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
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
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;
}