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

Add-on Custom icon for the category

Brogan

XenForo moderator
Staff member
#2
I'm not aware of an add-on but you can do it with CSS, for example:

This is one way of doing it - add this to EXTRA.css

Code:
.node.category.level_1.node_2 .categoryText {
background-color: #CC0000;
}
Change the node number for each category node id.
Amend the CSS to suit.

You will need to make changes to the other CSS which affects the category strip, such as removing the background image, etc.
An alternative method is to do this:

Code:
.nodeList .categoryStrip {
background: none !important;
border: none !important;
border-radius: none !important;
}

.node.category.level_1.node_2 {
background-color: #CC0000;
}
First remove all the styling from the category strip and then re-apply it individually.
 

XFA

Well-known member
#4
Sorry Allan nothing against you, all the structure was there, just missing a little template.

So we implemented it in our last version of Nodes Icon Tweak, see HERE.