1

I need to change the title of my registration form. ex. apply for customer account enter image description here

How can I change the title?

2
  • Specify your magento version Aug 30, 2018 at 15:12
  • i am using magento2.1
    – kiran
    Aug 30, 2018 at 15:25

1 Answer 1

2

Create a custom module

In custom module create a layout file name with customer_account_create.xml at

app/code/VendorName/ModuleName/view/frontend/layout/customer_account_create.xml

add below code to this file

<?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>

            <!-- and for the page title: -->
            <referenceBlock name="page.main.title">
               <action method="setPageTitle">
                  <argument translate="true" name="title" xsi:type="string">Your Page Title</argument>
               </action>
            </referenceBlock>

    </body>
</page>

Flush cache

php bin/magento cache:flush
0

Your Answer

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

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