Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #634708

    Dear support team,
    i modified the position of the logo like this:
    .logo {
    margin-left: -47px;
    margin-right: -47px;
    }

    On the mobile view i change the logo to another image with this snippet:
    add_filter(‘avf_logo’,’av_change_logo’);
    function av_change_logo($logo)
    {
    if(wp_is_mobile() )
    {
    $logo = “http://relaunch.voltaris.de/wp-content/uploads/2016/03/voltaris-logo-140.jpg”;
    }
    return $logo;
    }

    Is it possible to change the position of the mobile view logo to margin: 0px ? Maybe depending on the screen width?

    #634756

    Hey dondela,

    Thanks for getting in touch with us!

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    
    @media only screen and (max-width: 767px){
    .logo {
    margin: 0px;
    }
    }
    

    Best regards,
    Jordan

    #635027

    Thank you very much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Logo position depending on browser width’ is closed to new replies.