XF 2.2 How do I change default icon for Search forum

Hristo Avramov

Active member
I am using this but when I create a search forum it displays both the default icon and the new one on top of it.

CSS:
// Removes the default icon
.node--forum .node-icon i:before{display: none;}
// Sets the new default read icon of the forums
.node-icon i{
    background-image: url(images/iconsprites.png);
    background-position: 0px 0px;
    height: 32px;
    line-height: 40px;
    width: 32px;
}
 
Back
Top Bottom