XF 2.3 customized node icon broken

realaqu

Active member
here is what I put in extra.css

.p-breadcrumbs>li:first-child:before{
content: "\f015"; <---- this doesn't work, any inputs?
font-size: 14px;
margin-right: .5em;
}
 
Here is how I changed mine, in extra.less, to hopefully be 2.3 ready: (I works fine on the 2.2x version)

Could your issue be the quotation marks?

Code:
/****custom fontawesome node icons******/
.node.node--forum.node--id3 i:before{content:'\f4ce';}
.node.node--forum.node--id5 i:before{content:'\f0ad';}
.node.node--forum.node--id6 i:before{content:'\f559';}
.node.node--forum.node--id9 i:before{content:'\f65c';}
.node.node--forum.node--id10 i:before{content:'\f218';}
 
Here is how I changed mine, in extra.less, to hopefully be 2.3 ready: (I works fine on the 2.2x version)

Could your issue be the quotation marks?

Code:
/****custom fontawesome node icons******/
.node.node--forum.node--id3 i:before{content:'\f4ce';}
.node.node--forum.node--id5 i:before{content:'\f0ad';}
.node.node--forum.node--id6 i:before{content:'\f559';}
.node.node--forum.node--id9 i:before{content:'\f65c';}
.node.node--forum.node--id10 i:before{content:'\f218';}
just after last night cloud upgrade, working fine before that, guess might need some conversion
 
@Old Nick I have this in my extra.less to create the icons.
Still not sure why the default read/unread icons are showing for the sub nodes?

Code:
/* Forum read & unread icons */

.node--forum.node--read .node-icon i:before{content: url(offb.png);}

.node--forum.node--unread .node-icon i:before{content: url(oncomp.png);}

/* Subforum read & unread icons */

.subNodeLink i:before{content: url(offsub.png) !important;}

.subNodeLink.subNodeLink--unread i:before{content: url(oncompsub.png) !important;}
 
Back
Top Bottom