Tagged: Logo Position
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?
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
Thank you very much!