@media only screen and (max-width: 767px) { body header img#logo { max-width: 80%!important; max-height: 80%!important; height: auto!important; width: auto!important; } }