Answers for "how to add title in customer login page using xml in magento 2"

1

how to add title in customer login page using xml in magento 2

If you want to change customer login create a file name with customer_account_login.xml add below code:

<?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">Recipe</argument>
               </action>
            </referenceBlock>

    </body>
</page>
Posted by: Guest on September-17-2021

Code answers related to "how to add title in customer login page using xml in magento 2"

Browse Popular Code Answers by Language