Styling is a very unique way to highlight the main key points of your data. When you work in WordPress websites, then many times you need to either hide your subcategories or you want to highlight them. In this article we will guide you that how you can write your subcategories with a new look.
Hiding the subcategories:
If you want to hide some of your written data, then to do perform this action, at first you need to open your style.css. Here you have to type the following code.
This code will hide all your desired data and will thus make it invisible to the users.
Styling the categories:
Styling the categories is also as easy as hiding the data. In order to style the data you just need to add some additional codes into already mentioned codes. The code you need to give is as follows.
padding: 0 0 0 5px;
margin: 0 0 0 2px;
border-left: 1px solid #333;