1

as seen in the image below, my Magento site displays an IMG tag before the IMG tag meant for displaying logo on the homepage. Please tell me how to eliminate the first unwanted IMG tag logo-white.svg. thanks.

enter image description here

3
  • try turning on the template path hints
    – Marius
    May 8, 2020 at 7:54
  • Marius, thanks a lot. I found this file adding the unwanted IMG tag in the header. /public_html/vendor/swissup/module-theme-editor/view/frontend/templates/header/logo-alt.phtml. This is coming from our own theme which we customized. May 8, 2020 at 8:45
  • Do you I think I should override this file by deleting the line of code that puts this logo before the actual one? May 8, 2020 at 8:46

1 Answer 1

0

Comment out = $block->getChildHtml('logo-alt') in logo.phtml file in the custom module so that only the intended logo appears not together with the default logo provided by the theme.

Thanks...

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.