I have tried to change homepage title from admin and xml but nothing take effect.Can i change it from Database or any other way to change.

  • are you using cms page for home page ? – Rahul Singh Dec 26 '18 at 6:01
  • Disabling the H1 title in Magento 2 is a fairly simple process. You first need to override the Magento blank or luma theme and navigate to this folder: app/design/frontend/<vendor>/<theme>/Magento_Theme/layout – vikrant zilpe Dec 26 '18 at 6:03
  • Of course you’ll need to replace <vendor> and <theme> with your own values. Inside the folder you need to create or edit the file cms_index_index.xml. The content of the file should be: <?xml version="1.0"?> <page xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:noNamespaceSche$ <body> <referenceBlock name="page.main.title" remove="true"/> </body> </page> – vikrant zilpe Dec 26 '18 at 6:04
  • also please clear cache and reindex your site – vikrant zilpe Dec 26 '18 at 6:14
  • Yes Rahul Singh there is CMS page.But that title not working – Anees Dec 26 '18 at 6:24

-------- Magento 2 - remove home page title -----------

You can add reference block in your cms_index_index.xml

<referenceBlock name="page.main.title" display="false"/>

Using "true & false" you can display you page title based on your requirements

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.