Subcategories is used to sort content but most of cases it looks ugly in the template. If you want to style your subcategories this article will help you.
In this article I will show you how you can style or hide your subcategories in WordPress.
Hide Subcategories in WordPress
If you want to hide your WordPress subcategories, edit the style.css file and use the following code:
.children { display:none; }
Make Stylus Subcategories
If you want to stylus subcategories, again edit the style.css file and use the below code:
.children { padding: 0 0 0 5px; margin: 0 0 0 2px; border-left: 1px solid #333; }
Thanks:)
If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at LookLinux Submit Article. Stay connected to Facebook.
Leave a Comment