Home Forums WoodMart support forum Hide category description text in shop

Hide category description text in shop

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #129963

    timvanhuik
    Participant

    Hi, I have some descriptions in the categories, but would not want them to show up in the shop when clicking that specific categorie.

    <div class=”site-content shop-content-area col-lg-9 col-12 col-md-9 order-md-last description-area-before content-with-products” role=”main”>
    <div class=”woocommerce-notices-wrapper”></div>
    <div class=”term-description”><p>TEST</p>

    Above the <P> should be hidden if that is possible.

    What do i need to add to the CSS, or can i hide this “Categorie description” in the admin?

    Attachments:
    You must be logged in to view attached files.
    #129980

    Hello,

    I do not understand what you want. The category description is shown on the category page. When you click a category from the shop page, you will get to the category page and see the category description.

    Best Regards

    #129987

    timvanhuik
    Participant

    Hi Elise,

    Since i only use this “category description” text field for SEO purposes, I don’t want it to show up on the category page in the shop.

    So I want to hide the description text on the category field (by CSS), without deleting the text of this categorie in the admin.

    I have made this because it’s a combination of SEO of Yoast, and don’t want to show it on the category page.

    #130024

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .term-description {
       display:none;
    }

    This code would hide the description in the Category page.

    Best Regards

    #130025

    timvanhuik
    Participant

    SUPER! thank you very much :-))

    #130057

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘Hide category description text in shop’ is closed to new replies.