Question

how do I remove the text? or how should I overwrite existing xml file? Please help. I did try to override the file, but not work. Not sure I place the file into correct place or not. If I update XML, seems I have to run the setup:upgrade right?

Please help, thanks

enter image description here

Was it helpful?

Solution

Copy file this path :-

magento_root/vendor/magento/module-customer/view/frontend/layout/customer_account_login.xml

paste your custom theme

magento_root/app/design/frontend/Theme_Vendor/Theme_Name/Magento_Customer/layout/customer_account_login.xml

After paste your custom theme you run some command like :-

remove var/cache folder
remove var/view_preprocessed folder
php bin/magento s:up
php bin/magento c:c
php bin/magento c:f

Override your xml file after your change you hide the code.

2.) You want to remove using css.So find customer login text class and apply css display:none;.

EX:-

.customer.login.text{
display:none;
}

Hope this help you

Thanks ...

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top