Title: Product headers
Last modified: August 14, 2020

---

# Product headers

 *  Resolved [kenteush29](https://wordpress.org/support/users/kenteush29/)
 * (@kenteush29)
 * [6 years ago](https://wordpress.org/support/topic/product-headers/)
 * Hello guys,
    I use the Divi theme and I’d like to change manually the header 
   of product titles on the main page and on related products on product pages (
   from H2 to H3).
 * For therelated products (product pages), the divi theme support advised changing
   the “related” file created by your plugin with H3 instead of the H2. But it doesn’t
   work.
 * Do you have any solution for that ?
    It’s pretty bad for SEO right now.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [6 years ago](https://wordpress.org/support/topic/product-headers/#post-13258151)
 * Hi [@kenteush29](https://wordpress.org/support/users/kenteush29/). I’m not sure
   exactly how Divi interacts with our page templates, so this might be slightly
   different with them, but, in general, the answer to this question is that you’d
   need to modify the associated template files to output H3s instead of H2s. You
   can read more about our template structure and modifying templates [here](https://docs.woocommerce.com/document/template-structure/).
 *  Thread Starter [kenteush29](https://wordpress.org/support/users/kenteush29/)
 * (@kenteush29)
 * [6 years ago](https://wordpress.org/support/topic/product-headers/#post-13260391)
 * Here is the response of the divi support :
 * “You will need to modify their templates, which we are not totally familiar with
   their coding nature, that being said I would suggest you getting in touch with
   the Woocommerce author and requesting the snippet changes from them!”
 * Maybe you could help with that ?
 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [6 years ago](https://wordpress.org/support/topic/product-headers/#post-13289277)
 * Hi [@kenteush29](https://wordpress.org/support/users/kenteush29/). Our templates
   are designed in such a way that they are fully customizable. You can copy the
   default templates into your theme using the instructions in the previous link.
   As such, typically you want to use this method to customize them rather than 
   snippets.
 * As for this particular change, customizations like this are technically outside
   the scope of our support. I can’t say what the exact code is that you’ll need
   to change, but after a bit of digging, I think [templates/single-product/up-sells.php](https://github.com/woocommerce/woocommerce/blob/master/templates/single-product/up-sells.php)
   and [templates/cart/cross-sells.php](https://github.com/woocommerce/woocommerce/blob/master/templates/cart/cross-sells.php)
   might be the templates you’d want to modify. Both have h2 headings and are related
   to up-sells and cross-sells. This might be the title of the section itself rather
   than the product titles, though. Still, starting with those templates, you should
   be able to find the place where the product titles themselves are set.
 *  Thread Starter [kenteush29](https://wordpress.org/support/users/kenteush29/)
 * (@kenteush29)
 * [6 years ago](https://wordpress.org/support/topic/product-headers/#post-13289661)
 * Yes you’re right, for the moment I don’t use these templates so I edited the 
   file “related”
    /templates/single-product/related.php And it changes nothing,
   I edited the H2 to H3, and it doesn’t change on the front end. Do you know why?
 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/product-headers/#post-13295091)
 * Hi [@kenteush29](https://wordpress.org/support/users/kenteush29/). That may have
   been the wrong thing to modify. I only looked in the template files, but that
   HTML might be getting created somewhere else and then injected into a template
   somewhere. You could try searching the WooCommerce plugin for the text string`
   h2` and trying to narrow it down that way. [You can do this on GitHub](https://github.com/woocommerce/woocommerce/search?q=h2&unscoped_q=h2)
   if you don’t have an IDE or some other way to do it locally.
 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/product-headers/#post-13330185)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved.
   Feel free to start a new thread if you have any further questions!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Product headers’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3640790)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/product-headers/#post-13330185)
 * Status: resolved