Hello,
it’s just a small detail but there is a dot at the end of the category listing of the product page that seems out of place. It is also there when only one category is listed.
Is there an option to deactive this?
Cheers
Melanie
This topic has 6 replies, 2 voices, and was last updated 10 years, 5 months ago ago by Eva Kemp
Hello,
it’s just a small detail but there is a dot at the end of the category listing of the product page that seems out of place. It is also there when only one category is listed.
Is there an option to deactive this?
Cheers
Melanie
Hello,
In this case edit the file wp-content/themes/legenda/woocommerce/content-single-product.php in line 68 and remove the dot before the code </span>' ); in this string: echo $product->get_categories( ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', $size, 'woocommerce' ) . ' ', '.</span>' );
Regards,
Eva Kemp.
Hello Eva,
thank you! Is there a way to do this without editing the php files? Maybe using css? I have a child theme active but would prefer not to modify the php files since I possibly get problems when updating the theme. Is this correct?
Cheers
Melanie
Hello,
Unfortunately it can’t be done via css, you have to edit the file. Copy it to your child theme folder and edit it in there not to lose changes after theme update.
Regards,
Eva Kemp.
Hello Eva,
ok
Cheers
Melanie
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Category listing | dot’' has been successfully resolved, and the topic is now closed for further responses