Page 1 of 1

Hiding Sub-Categories

Posted: Mon Aug 25, 2008 5:49 pm
by fourd5dswb
Hello. Is there anyway to hide the sub-categories in the category view? As of now, when you add a sub-category it shows up in the category view and looks like a parent category. Thanks.

Re: Hiding Sub-Categories

Posted: Mon Aug 25, 2008 6:19 pm
by garvinhicking
Hi!

Usually, sub-categories should show up intended. Can you show your URL where those look like a parent category?

Currently the category plugin can be configured a lot to show specific sub-categories only, but there is no config switch to only show top-level categories (because you would then never see sub-categories).

So I believe the proper way would be to see why your sub-category is not indented.

Regards,
Garvin

Hiding Sub-Categories

Posted: Tue Aug 26, 2008 2:32 pm
by fourd5dswb
My URL is www.prowlser.com.

If you look on the right side of the page you will see the categories. Under the "MySpace Layouts & Tutorials" category is the "Actor Layouts" category. The way that it appears on the page it looks like a parent category. Is there a way to hide all sub-categories so that you have to actually click on the parent category before you see the child categories?

Thanks.

Re: Hiding Sub-Categories

Posted: Tue Aug 26, 2008 3:10 pm
by garvinhicking
Hi!

You could try to edit your style.css file of the template you're using, and insert this:

Code: Select all

.category_depth1 a {
 padding-left: 12px !important;
}
This will increase the indention of subcategories of the first level from 6px to 12px.

Another idea is to also indent the XML and checkboxes as well:

Code: Select all

.category_depth1 {
  padding-left: 12px !important;
}

After you saved the change, remember to reload your browser's cache.

Regards,
Garvin