Hello
Is it possible to set different logo to display in mobile device?
Hey zibaloon2!
You can go to wp-content\themes\enfold\includes folder and open helper-main-menu.php file and place your second logo there manually inside a div with a class and choose to display it only on mobile with a custom CSS code such as following one
@media only screen and (min-width: 480px) {
.second-logo { display: none; }}
@media only screen and (max-width: 480px) {
.logo { display: none; }}
For further customization, please hire a freelance developer.
Regards,
Yigit
Hey Yigit;
can you post the code how to change the helper-main-menu.php. I didn´t get this work :(
Thank you
Hi!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "<a class='second-logo' href='#'><img src='http://kriesi.at/wp-content/themes/kriesi/images/logo.png' /></a>";
return $sub;
}
Cheers!
Yigit
Thank you :)