I am in charge of a Magento website created by a former guy and I followed this tutorial to add a new Picture Link in my header :


This worked but despite the "align = center " the "picture link" stay next to the logo of the company. You can see that on the photo below, the red part is the "picture link" the black next to the red one is the company logo.


1 Answer 1


go to this file


add code after this

<a class="logo" href="<?php echo $this->getUrl('') ?>">
        <img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" class="large" />
        <img src="<?php echo $this->getLogoSrcSmall() ?>" alt="<?php echo $this->getLogoAlt() ?>" class="small" />
  • That's what I did and the picture link is still not centered, still next to the magento logo
    – Remzouz
    Jun 4, 2015 at 19:14
  • 1
    Add style="margin-left:200px" inside your img tag Jun 4, 2015 at 19:52

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.