Archived topic
change class related product Title text (h2) woocommerce related product class
7 replies · Started by alberto-salas on January 23, 2022
Hi there,
I want to know how can I change the title text of the related product section class.
Additionally, I would like to center it and display it in uppercase.
How can achieve this?
Hi there,
I want to know how can I change the title text of the related product section class.
Not sure if I understand. Are you trying to add specific CSS classes to the title?
If so that's something the theme cannot control so you will have to check with WooCommerce' support team.
Additionally, I would like to center it and display it in uppercase.
This can be done with this CSS:
.related.products h2 {
text-align: center;
text-transform: uppercase;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Thank you Leo.
Currently my title says "Productos relacionados" but I would like to change it to "Ver productos similares".
How can I rename the title?
Hi there,
see my reply here:
https://generatepress.com/forums/topic/gp-and-woocommerce-change-related-product-text/#post-983213
Hi David,
is there a way to do it manually without using code? Like, going to the source where the h2 text was originally written and then changing it?
...I feel like I previously changed that text, but now I can not find where in GP I did this!
Aside of installing a plugin to do it - thats the only method i have or changing the text.
I understand.
Most of the information you guys provided will be useful to me!
Thank you.
Glad to be of help