2

In the Login page, I want to show a message in below Login Button instead of page top.

How to change Login page error message position in below Login Button in Magento 2.

How to achieve this?

  • Did you get my answer? – Prince Patel Jun 6 '17 at 7:39
1

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

app/design/frontend/Vendor/theme/Magento_Customer/layout/customer_account_login.xml

customer_account_login.xml

<?xml version="1.0"?>

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <move element="messages" destination="customer.login.container"/>
    </body>
</page>
  • I want to show only error msg in below login button – my Test Jun 6 '17 at 7:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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