The attributes of the product are displayed in the tab Details/Additional Information. If only a 1-2 of attributes are displayed on your site, then the tab will look ridiculous without content. There are two options: hide the tab using css styles, or delete it using the engine.
Option 1: hide the Details tab using css styles
li.additional_information_tab {
display: none !important;
}
You need to add this code to style.css. Despite the fact that the code can be placed in header.php/footer.php, but it is more correct to add styles in a css file.
Option 2: delete the Details tab using functions.php
function woo_remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] );
return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
WEBinP Your guide to resolving CMS optimization, Web Development and SEO problems