I want to show a message like error or success in below Login Button instead of page top in login page.

How to change message position in below Login Button in Magento 2?

  • are u need only login page right?
    – Abdul
    Commented Dec 16, 2017 at 10:26

1 Answer 1


Create customer_account_login.xml in your theme and move message block to customer.login.container

<move element="messages" destination="customer.login.container"/>

Full answer here: Magento 2: Change message location


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.