Tagged: custom logo, logo, menu
I am trying to get a custom logo on specific pages. I tried what was recommended on an older closed thread, and it does not work, I either get the Enfold logo, or none. Here is what I have in my Functions.php
.logo {
visibility: hidden !important;
}
add_filter(‘avf_logo’,’av_change_logo’);
function av_change_logo($logo)
{
if(is_page(227) )
{
$logo = “https://santafescience.com/wp-content/uploads/2018/12/CPLA_Logo.png”;
}
return $logo;
}
// .logo { display: none; }
Thank you!