Tagged: mobile logo
Hi,
We have this code to change the logo on mobile, but we only want to change it on the transparent header case [.html_header_transparency]
/* Different logo on mobile */
add_filter('avf_logo','av_change_logo');
function av_change_logo($logo)
{
if(wp_is_mobile() )
{
$logo = "logo";
}
return $logo;
}
/* End different logo on mobile */
Any ideas?
Thank you
Hey C-LabMX,
Sorry first message I remove it.
To be honest, that code is not intended to work like that.
If you need it to be only for the transparent, it would require to be custom coded. You can get help on that by hiring a freelancer.
Thank you
Best regards,
Basilis
I see,
Well, it looks I kind of fixed it, I found another post with a workaround. Another question, how can I show the hamburger menu earlier? It’s needed under 1180px
Regards
Fount it too, thank you.
@media only screen and (max-width: 1180px) {
.av-main-nav > li.menu-item-avia-special {
display: block;
}
.av-main-nav > li.menu-item {
display: none;
}
}
You can close this thread.
Hi C-LabMX,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria