Showing results for 
Search instead for 
Did you mean: 

H2 Tag Adjustment - Subcategories


H2 Tag Adjustment - Subcategories

Magento ver. -


I am doing some major SEO adjustments to my website and noticed that all of my category pages have absolutely no H2 tags. I am wanting to make every subcategory of the main category be the h2 tags on the page, but can't seem to figure out how. I've tried and it works on the main category page, but when I go to the actual category page it will display with <h2> and </h2> and I obviously don't want that.h2 tags.JPG

 For instance, on this page... I want Diaphragm Pumps, High Temperature Pumps, Metering Pumps and Peristaltic Pumps to be my H2 tags on the Positive Displacement Pumps category page. Looking for some help! Look forward to the feedback.




Re: H2 Tag Adjustment - Subcategories

This isn't standard Magento functionality so probably comes from a custom/purchased theme that you have. Because of that it's impossible for us to say exactly where the code needs changing. 


Normally, the template that handles showing products on the category page is this one: so that template in your theme would be a good place to start.


Otherwise, I'd be searching for the classes in and around that grid in your code to find which template is responsible.


Screen Shot 2018-01-17 at 09.42.01.png

If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!