Home Forums WoodMart support forum CSS for all div except for one

CSS for all div except for one

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

    kares
    Participant

    Hi, I have a problem with the css about the description in the categories. I have put this css to hide the description
    .term-description{
    display:none;
    }
    But now I need the description to be shown just for one category. Can you help me with this?
    (in the attachment below I sent you a photo of the description I want to unhide.

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

    Hello,

    Please provide page URL of the category where you want to show the description.

    Best Regards

    #103634

    kares
    Participant

    Hello, I’ll send it in private content.

    #103716

    Hello,

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

    .term-biroa .term-description {
        display: block;
    }

    This screenshot shows how to assign the style to the class of the certain category.

    Best Regards

    #103846

    kares
    Participant

    Hello, thank you for your answer. But now I have many categories that I want to hide. Should I add code similar to this for every other category that I want to hide? Or is there some why that I can group them all and add code for all of them?

    #103894

    Hello,

    Here is the screenshot which would help you to find out the class which determines the certain category https://prnt.sc/mb3rn9 and you can apply this code for other categories as well.

    Best Regards

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