CSS for all div except for one
-
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.
Hello,
Please provide page URL of the category where you want to show the description.
Best Regards
Hello, I’ll send it in private content.
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
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?
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