php - Remove tags from product page in Woocommerce -
sorry super-beginner question, want remove/hide below product description in woocommerce, says category. mean this:
i have been searching how , apparentely easy adding this:
.product_meta { display: none; }
however, have tried pasting everywhere , nothing changed:
- i have tried on custom css box theme has in options
- i have tried woocommerce editor (plugings - editor)
- i have tried in stylesheet of theme in appearance - editor
and nothing work
could someome please explain me add it? or if code not way of doing this?
please, keep in mind beginner. need step step like: go appearance - editor - xxx - in dropdown menu chose xx - xx - paste - save changes
otherwise not know how follow instructions. thanks!
you should use woocommerce action remove categories. please add code below functions.php
add_action( 'after_setup_theme', 'my_after_setup_theme' ); function my_after_setup_theme() { remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 ); }
Comments
Post a Comment