Hiding Sub-Categories
-
fourd5dswb
- Regular
- Posts: 24
- Joined: Mon Aug 25, 2008 5:41 pm
Hiding Sub-Categories
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.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Hiding Sub-Categories
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
fourd5dswb
- Regular
- Posts: 24
- Joined: Mon Aug 25, 2008 5:41 pm
Hiding Sub-Categories
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.
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.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Hiding Sub-Categories
Hi!
You could try to edit your style.css file of the template you're using, and insert this:
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:
After you saved the change, remember to reload your browser's cache.
Regards,
Garvin
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;
}
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/