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';}
 
.p-breadcrumbs>li:first-child:before{
For node icons??

This how it works for 2.3
Less:
.node.node--id2 .node-icon i::before {
    .m-faContent(@fa-var-megaphone);
}
You also need to remove the SVG icons; otherwise, two icons will be displayed.
Less:
.node .node-icon svg {
    display: none;
}
 
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
 
Back
Top Bottom