0

Wondering how to display the name of the category on actual category pages in Magento 2? I can get the image and everything else to show up, just no spot to have the category name in an H1 or something?

1
  • The category title displayed already with default magento2.1, then can you please explain in detail what you are going to do Commented Jul 25, 2017 at 7:05

2 Answers 2

1

You can find the Category page title H1 tag in side this path vendor\magento\module-theme\view\frontend\templates\html\title.phtml.

1
  • What if you don't want the h1 tag, just the actual name of the category? Commented Feb 11, 2022 at 14:34
0

Page Title HTML H1 TAG Can be edited at Vendor/Magento/module-theme/view/frontend/html/title.phtml You can override this within your theme / Module If you just like to move the title Vendor/Magento/module-catalog/view/frontend/lauout/catalog_category_view.xml override this to your theme/Module and Add:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.