I want to add some content(a drop down) in header menu first item before welcome text message.

I have followed this answer How to add extra container to page header in Magento 2

It adds below the header. So I modified it by changing <referenceContainer name="header.container"> to <referenceContainer name="header.panel.wrapper">

Now it is appearing in the header but below welcome text, sigin in links. I need to add it before Welcome text.

What is the change I need to make?

  • Are you try to want using layout or override core phtml file? Using Override core phtml file is simply. May 29, 2017 at 8:48
  • I may also need to use a block, layout and template file. @Rakesh
    – Mann
    May 29, 2017 at 8:55
  • using phtml file is fit for you? May 29, 2017 at 8:57
  • Ok. How to achieve it?
    – Mann
    May 29, 2017 at 9:02
  • Just override vendor/magento/module-customer/view/frontend/templates/account/customer.phtml file into your theme and you can keep your content before welcome message May 29, 2017 at 9:05


Your Answer

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

Browse other questions tagged or ask your own question.