1

I am using magento 2.3. I want the browser tab to say something like: 'seller login instead of customer login'.

enter image description here

0

Title can be set from layout file, Create:

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

with following content:

    <?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">
    <head>
        <title>Seller Login</title>
    </head>
    <body>
        <referenceBlock name="page.main.title">
           <action method="setPageTitle">
              <argument translate="true" name="title" xsi:type="string">Some Page Title </argument>
           </action>
        </referenceBlock>
    </body>
</page>

enter image description here

NOTE : If You want same browser tab and page title, You can skip body code from file.

| improve this answer | |
  • Thank You so much – gill Jul 13 at 1:59
  • welcome @gill :) – Pawan Jul 13 at 7:09

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.