Try this in functions.php for your child theme.
remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10 );
add_action( 'woocommerce_shop_loop_item_title', 'custom_template_loop_product_title', 10 );
function custom_template_loop_product_title() {
echo '<div class="product-title"><a href="' . get_the_permalink() . '">' . get_the_title() . '</a></div>';
}
Tested with my theme but not with yours.
Hi @nirb
Just to let you know that you can also add the code via a plugin that allows custom functions to be added, such as the Code Snippets plugin. Here is a link on how to use the Code Snippets plugin.
Thread Starter
nirb
(@nirb)
Thank you lorro it works!
I would be happy to help with another thing, this page has two H1 headings, one above the price filter and I do not know where the other, know help me?
https://center4hair.co.il/product-category/%D7%9C%D7%A2%D7%99%D7%A6%D7%95%D7%91-%D7%94%D7%A9%D7%99%D7%A2%D7%A8/
Use this custom css for a moment:
.title-design-disable {
display: block !important;
}
You should see a large black band with the h1 at the top.
Consider deactivating Rocket until you have finished working on the site.
Hopefully, the above info was helpful.
I’m going to mark this thread as resolved. If you have further questions, please feel free to open a new topic.