WordPress

How to Hide Subcategories in WordPress

Hide-Subcategories-In-WordPress
mm
Written by Santosh Prasad

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:)

Thank you! for visiting Look Linux.

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 Look Linux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment