Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #238514

    Hello

    Is it possible to set different logo to display in mobile device?

    #238916

    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

    #381253

    Hey Yigit;

    can you post the code how to change the helper-main-menu.php. I didn´t get this work :(

    Thank you

    #382009

    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

    #394712

    Thank you :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Different logo for mobile version’ is closed to new replies.