1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Custom node icons, which one to use?

Discussion in 'Styling and Customization Questions' started by hterrag, Jun 25, 2014.

  1. hterrag

    hterrag Active Member

    Hi, I want to add custom icons for each forum, what is the difference between these:

    http://xenforo.com/community/resources/custom-node-icon-icon-for-category.632/
    and
    http://xenforo.com/community/threads/rc-1-custom-node-status-icons-read-unread.10886/

    I know one is an add-on and the other is by using CSS. The one using the add-on is easier for me but I am worried when there are new updates it might mess up the add-on? So should I use the CSS one? I really don't know which one to use. Help!
     
  2. Tracy Perry

    Tracy Perry Well-Known Member

    That add-on (if it is the one I am thinking of) at one time had a problem with removing your node icons when it was uninstalled.
    It's by far easier to create a custom template (call it custom_forum_nodes.css) and then input all your CSS code in there. Then in EXTRA.css just do an include of your newly created CSS template with your code.
     
  3. hterrag

    hterrag Active Member

    Thanks but I don't understand this part. How can I include it in extra.css?
     
  4. Tracy Perry

    Tracy Perry Well-Known Member

    Simply adding something like
    Code:
    <xen:include template="twd_nodes.css" />
    where twd_nodes.css is my custom CSS for the node setups.
     
    hterrag likes this.
  5. hterrag

    hterrag Active Member

    Thank you very much!
     

Share This Page