Tagged: mobile meu logo
Hello, I am using two different logos, one starter and one that is displayed as soon as one scrolls down that is uses in the transparent menu.
I would like to use the “starter”-Logo on the mobile site on every page, instead of the second logo — can you tell me how to to it?
thanks! :)
Hey xela,
please include an admin login in the Private Content area so we can examine.
Best regards,
Mike
Hi,
Thank you for the info.
You can add this code in the functions.php file to change the logo on mobile view:
/* Use alternate logo on mobile view */
add_filter('avf_logo','av_change_logo');
function av_change_logo($logo) {
if(wp_is_mobile()) {
$logo = "https://externerspeicher.net/publicfootprint/wp-content/uploads/2025/02/public-footprint-logo-web.png";
}
return $logo;
}
Best regards,
Ismael
Thanks a lot — but that does not seem to work :/
Also the white menu-background does now appear on medium-sized displays — I actually wanted it to be transparent all the time, I edited that in the CSS, could you have e look there as well?!
THANKS!
Hi,
Thank you for the update.
It is working correctly on our end. Please make sure to purge the cache before checking the page. Regarding the transparent header, we adjusted this code in the style.css file:
@media only screen and (max-width: 989px) {
.responsive #top #main {
margin-top: -110px !important;
}
#top #wrap_all .av_header_transparency {
background-color: transparent !important;
}
div#header_main>.container {
display: block !important;
}
}
Best regards,
Ismael