Home Forums WoodMart support forum How to hide images for subcategories

How to hide images for subcategories

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #233009

    JeanneMeier
    Participant

    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.
    #233038

    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

    #233281

    JeanneMeier
    Participant

    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!

    #233319

    Hello,

    You are always welcome to contact us. We shall do our best to help. Please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)