Category listing | dot - by DIPHA - on WordPress WooCommerce support

This topic has 6 replies, 2 voices, and was last updated 10 years, 5 months ago ago by Eva Kemp

  • Avatar: DIPHA
    DIPHA
    Participant
    June 28, 2015 at 21:09

    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.

    http://imgur.com/58hZqzW

    Is there an option to deactive this?

    Cheers

    Melanie

    5 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    June 29, 2015 at 11:25

    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.

    Avatar: DIPHA
    DIPHA
    Participant
    June 30, 2015 at 16:29

    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

    Avatar: Eva
    Eva Kemp
    Participant
    June 30, 2015 at 16:35

    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.

    Avatar: DIPHA
    DIPHA
    Participant
    July 8, 2015 at 13:53

    Hello Eva,

    ok

    Cheers

    Melanie

    Avatar: Eva
    Eva Kemp
    Participant
    July 8, 2015 at 17:27

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Category listing | dot’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.