Tagged: logo, mobile logo
Hi,
I have done the following in functions.php:
add_filter('avf_logo','av_change_logo');
function av_change_logo($logo)
{
if(wp_is_mobile() )
{
$logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
}
return $logo;
}
But no change on mobile (emptied log etc) – do I need to make any other steps?
Best regards,
Elise
Hi Elise!
Did you check your website on an actual mobile device? You cannot see the changes by resizing browser window on a desktop, it should be changed on mobile. If it is not working, please create a temporary admin login here privately so we can look into it :)
Cheers!
Yigit
Yes I checked:)
Hey!
You can use (Email address hidden if logged out) but please post login credentials here privately so any available moderator can look into it :)
Best regards,
Yigit
Here is the login info:)
Hi!
I added the code to Functions.php file in Appearance > Editor and checked on my iphone and confirmed it is working fine. Please see screenshot in private content field below :)
Best regards,
Yigit
HM – its a mystery – I must have done something very wrong…. but thank you so very much.
Best regards,
Elise