Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #497093

    http://kriesi.at/documentation/enfold/change-logo-on-mobile/
    Is it possible that this applies only for smartphones, max-width: 767px?

    #497109

    Hey Roine!

    Using that code it is not possible as it detects only as mobile device.
    Please add following code to functions.php file instead

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= "Company Name";
        return $sub;
    }

    Instead of “Company Name”, please use HTML IMG tag to upload your image and then add following code to Quick CSS

    @media only screen and (max-width: 767px) {
    .logo > a > img { display: none !important; }}

    Cheers!
    Yigit

    #497120

    SUPERTACK! (Big Thank You in Swedish :-)

    #497125

    Hi!

    Inga problem! Nėra už ką! ( You are welcome in Lithuanian :) )
    Let us know if you have any other questions or issues

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Use a different logo on smartphone’ is closed to new replies.