How to remove H1 title from CMS pages and category pages in Magento 2

Gordova picture Gordova · Feb 20, 2016 · Viewed 14.1k times · Source

I want to add the H1 title along with the description in the description filed for CMS pages and category pages.

How can I remove the H1 title for these pages but keep the H1 title for products pages?

Answer

Shine picture Shine · Feb 22, 2016

For removing the tittle from the home page you can just add <referenceBlock name="page.main.title" display="false"/> in your cms_index_index.xml. You can also use display true and false from where you want.