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 SinghDec 26, 2018 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 zilpeDec 26, 2018 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 zilpeDec 26, 2018 at 6:04
-
also please clear cache and reindex your site– vikrant zilpeDec 26, 2018 at 6:14
-
Yes Rahul Singh there is CMS page.But that title not working– AneesDec 26, 2018 at 6:24
1 Answer
-------- 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