Hi @javii0451,
I see you are using Elementor. Page builders often change things around, and it’s possible that our usual css doesn’t apply to the structure that Elementor is creating. That being said, it’s probably a small change to write css that applies.
If you want to re-enable the tab titles I can help you update the styles.
Let me know,
Jon
Hi, I have the same problem, is there any php code to remove it from the functions.php.
I also have elementor, and it is a problem because each title of each tab is a h2 and if you have several on the same page is bad for SEO.
I look forward to your answer. It is a great plugin 😉
Best regards and thank you very much in advance.
Hi @wp-yeyo,
I threw together a knowledge base article to help you out here – https://yikesplugins.com/knowledge-base/how-to-hide-tab-headings-in-css-or-php/
With regards to SEO, here’s a Moz discussion on the effects of multiple heading tags on a page https://moz.com/community/q/is-is-ok-to-have-multiple-h2-or-h3s.
Let me know if that helps,
Jon
Hi Jon, thank you very much for responding so quickly.
Great, it’s just what I needed, it works perfectly!
I leave you the code I used in case it can be useful to someone who has the same problem as me.
Your next option is to add a snippet to your functions.php file:
add_action( 'init', 'yikes_hide_tab_title', 10 );
function yikes_hide_tab_title(){
// Hide our custom tab's title.
add_filter(
'yikes_woocommerce_custom_repeatable_product_tabs_heading',
'__return_false',
99
);
// Hide the description tab's title.
add_filter( 'woocommerce_product_description_heading', '__return_false', 99 );
// Hide the additional information tab's title.
add_filter( 'woocommerce_product_additional_information_heading', '__return_false', 99 );
}
Best regards and thank you very much.