How to hide images for subcategories
-
I have searched high and low, and I cannot find where the setting is to hide subcategory images. I’d like my category pages to just show a link to the subcategory, rather than an image – or in my current situation, an image placeholder.
I tried entering this into the custom css, but it didn’t work:
.woocommerce-page .product-category .mask-container { display: none; }
Is there a place in the theme to do this? All the websites I visited offer instructions for earlier versions of WP, and I didn’t find anything in the Xtemos help docs.
Thank you for any help you can offer on this!
Attachments:
You must be
logged in to view attached files.
Hello,
I can provide custom CSS to hide both category and sub-category images. You see there is no option to leave categories images and hide sub-categories.
There is a trick. You can create an HTML block for each category, you can add manually all the sub-categories related to the category and then add this HTML block to the category description: https://xtemos.com/docs/woodmart/html-blocks-2/#cat_att_tag
So you set your to show to show products and sub-categories would be shown on the top.
Best Regards
Thank you so much! I played around with the HTML category blocks, and it will work perfectly for what I am wanting to do. I love the idea of hiding them via CSS, but using the HTML blocks will allow me more flexibility on how they display and look more polished.
I am working very hard on getting the site up and running. Once I have it as far as I can take it I may be contacting you for custom help. I’m hoping you do some small-for-hire work. 🙂
Again, thank you!
Hello,
You are always welcome to contact us. We shall do our best to help. Please feel free to contact us.
Best Regards