Editing Category Mask - by kreadivdesign

This topic has 7 replies, 2 voices, and was last updated 7 years, 10 months ago ago by Rose Tyler

  • Avatar: kreadivdesign
    kreadivdesign
    Participant
    January 5, 2017 at 22:03

    Which file would i use to edit the .categories-mask to show “view” or “shop” rather than read more?

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: kreadivdesign
    kreadivdesign
    Participant
    January 5, 2017 at 22:36

    also, how would i make it just say the category title?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 6, 2017 at 09:01

    Hello,

    You can edit themes/woopress/woocommerce/content-product_cat.php file.
    Make your changes in the child theme to prevent losing them after theme update.

    Also, try to add this code in Custom CSS:

    .post-type-archive-product .categories-mask span {
        display: none;
    }

    Regards,
    Rose Tyler.

    Avatar: kreadivdesign
    kreadivdesign
    Participant
    January 11, 2017 at 03:57

    So this worked but only for the main parent categories not the subcategories. Any suggestions?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2017 at 08:28

    Hello,

    Try to change previous code

    .categories-mask span {
        display: none !important;
    }

    Regards,
    Rose Tyler.

    Avatar: kreadivdesign
    kreadivdesign
    Participant
    January 12, 2017 at 17:20

    Worked Perfect thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 13, 2017 at 08:03

    Hello,

    You’re welcome!

    Regards,
    Rose Tyler.

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

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

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