Changing h2 review title

Hi there

I’m using Ethos …

I’d like to change review title for woocommerce template from h2 to another one like “strong”.
For now I have a title like “10 reviews for my_product” before reviews…

Is it possible to use functions.php to change this or inside child theme ?

many thanks

Hi Vlad,

Thanks for writing in! Customizations are fall beyond our scope of the support and we can only provide some guidance for certain customizations.

For this type of customization, first you need to setup a child theme and activate it by following our guide here (https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57).

Then you can copy the file single-product-reviews.php under “/wp-content/plugins/woocommerce/templates/” into your child theme /wp-content/themes/x-child/woocommerce/single-product-reviews.php.

Then search for the following CSS class woocommerce-Reviews-title that have been applied into a H2 Tag and change it accordingly.
<h2 class="woocommerce-Reviews-title"></h2>

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.