Change Customer Login Title in Magento 2
Create a customer_account_login.xml file to change title of customer login
For theme –
app/design/frontend/{Packagename}/{themename}/Magento_Customer/layout/customer_account_login.xml
For module –
app/code/{Package}/{Module}/view/frontend/layout/customer_account_login.xml
Add the following line in the xml file –
<referenceBlock name="page.main.title">
<action method="setPageTitle">
<argument translate="true" name="title" xsi:type="string">LOGIN OR CREATE AN ACCOUNT (Your Custom Title)</argument>
</action>
</referenceBlock>
2 thoughts on “Override Login Page Title | How to change Customer Login Title in magento 2?”
Comments are closed.