I have updated the logo of the website and it is not working on the mobile. I have searched a lot on the web but i didn't got any solution. Please help me in resolving this.

1 Answer 1


Go to app/design/frontend/{package}/{theme}/template/page/html/header.phtml or the custom header of your theme and add img-responsive class to your logo like this:

...title="<?php echo $this->getLogoAlt() ?>" class="logo img-responsive">...
  • Is my answer solved your problem ?
    – PЯINCƎ
    Jul 1, 2017 at 0:05
  • yes @prince but due to reputation issue i am unable to upvote it Jul 2, 2017 at 6:27
  • You just have to accept it ;)
    – PЯINCƎ
    Jul 2, 2017 at 6:30
  • @Prince echo '<style>.top-container { background:url("/skin/frontend/default/theme327k/images/aus-bg.jpg"); background-size: cover; } </style>'; How can i give responsive here?
    – Gem
    Jul 27, 2018 at 9:49
  • background-size: cover; do the trick
    – PЯINCƎ
    Jul 27, 2018 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.