How to return images to categories everywhere

This topic has 4 replies, 3 voices, and was last updated 1 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: Goostaf
    Goostaf
    Participant
    October 7, 2024 at 12:31

    Hello, earlier we asked you to remove the output of images from categories using this hook:

    if(!is_product_category(‘multgeroi’)) {
    remove_action(‘woocommerce_before_subcategory_title’, ‘woocommerce_subcategory_thumbnail’, 10);
    }

    How do I get images back to categories everywhere? We have removed the hook from content-product-cat.php but the images did not return..

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    October 8, 2024 at 04:58

    Hi @Goostaf,

    Please try and remove this custom CSS code under xstore-child/style.css:

    
    body:not(.term-multgeroi) .category-grid > a {
        display: none !important;
    }
    

    Hope it helps!

    Avatar: Goostaf
    Goostaf
    Participant
    October 8, 2024 at 13:49

    Thank you so much!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 8, 2024 at 13:49

    Dear Goostaf,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘How to return images to categories everywhere’' 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.