BlogHarbor Home Page
FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  UsergroupsRSS   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Customizing the Category Tree Component
 
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> Beginner's Lounge
View previous topic :: View next topic  
Author Message
reb



Joined: 27 Feb 2005
Posts: 12

PostPosted: Tue Mar 01, 2005 10:32 pm    Post subject: Customizing the Category Tree Component Reply with quote

How do I customize the Category Tree component? Specifically, I want to reduce the font size. Most of the components can be customized in the components part of the layout area. Or is it in the templates "style?"
Back to top
View user's profile Send private message
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Wed Mar 02, 2005 1:53 am    Post subject: Re: Customizing the Category Tree Component Reply with quote

reb wrote:
How do I customize the Category Tree component? Specifically, I want to reduce the font size. Most of the components can be customized in the components part of the layout area. Or is it in the templates "style?"


The Category Tree component can not be customized the way that other components can; it is not possible to edit it to create a custom version.

If you need to change the font size, it is possible to change the CSS class called componentContent which will affect that particular component among others.

This thread at http://forums.blogharbor.com/viewtopic.php?t=506 shows how to access your style template, try adding this code:

Code:
.componentContent {
    font-size: 9px;
}


to reduce the size of the category tree component text.

Here are some additional threads on this forum on the topic of modifying your CSS styles:

http://forums.blogharbor.com/viewtopic.php?t=506
http://forums.blogharbor.com/viewtopic.php?t=515
http://forums.blogharbor.com/viewtopic.php?t=518
http://forums.blogharbor.com/viewtopic.php?t=996
http://forums.blogharbor.com/viewtopic.php?t=1080
http://forums.blogharbor.com/viewtopic.php?t=1095
http://forums.blogharbor.com/viewtopic.php?t=1109

You might get some ideas for customizing your blog by looking through them.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
reb



Joined: 27 Feb 2005
Posts: 12

PostPosted: Wed Mar 02, 2005 10:57 am    Post subject: Thanks for Component Customization Info Reply with quote

John,

Very Happy Thanks, works great. Also appreciate all of the other info you provided on customizing components. Went above and beyond.
Back to top
View user's profile Send private message
ePublicist



Joined: 04 Mar 2005
Posts: 1
Location: Toronto, Canada

PostPosted: Fri Mar 04, 2005 5:22 am    Post subject: Reply with quote

Is there NO way to "redirect" or "overide" the "Category Tree" so it will use MY icon instead of the "/_images/folder.gif" icon? Confused

I had NO problem accomplishing that with the "Categories" component, but I'm a little fearfull of messing around with the code ... my problem with the "Categories" component is that it closes when there is no further sub-category. Sad Does anyone have a version that avoids that?

Thanks in advance for any assistance extended!
Yoel
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Fri Mar 04, 2005 6:10 am    Post subject: Reply with quote

Unfortunately, the way the Category Tree is designed, it is not possible for you to override the folder icon. I don't see any way to do this programmatically... Though you could of course create your own static tree and update it whenever you add or remove a category.

Last edited by john on Fri Mar 04, 2005 7:31 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Fri Mar 04, 2005 7:19 am    Post subject: Reply with quote

john wrote:
Though you could of course create your own static tree and update it whenever you add or remove a category.


That's what I was afraid you were going to say. Sigh ....

Thanks for the feedback.

YBA
Back to top
Search all BlogHarbor support resources.
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> Beginner's Lounge All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum