Astra Active member Jul 5, 2024 #1 Previously, they were registered in extra lees. After the update everything disappeared, how can I restore the partition icons?
Previously, they were registered in extra lees. After the update everything disappeared, how can I restore the partition icons?
O Old Nick Well-known member Jul 5, 2024 #2 Provide the code you used in extra.less, syntax has changed for FA icons... Upvote 0 Downvote
Astra Active member Jul 5, 2024 #3 Code: .node--id2 { .node-icon i::before { content: "\f654"; } } .node--id5 { .node-icon i::before { content: "\f2f4"; } } This is what it looked like before Upvote 0 Downvote
Code: .node--id2 { .node-icon i::before { content: "\f654"; } } .node--id5 { .node-icon i::before { content: "\f2f4"; } } This is what it looked like before
O Old Nick Well-known member Jul 5, 2024 #4 Replace Less: content: "\f654"; By Less: .m-faContent(@fa-var-user); Change user by the FA name In XF 2.3, node icons are SVG, so you must remove the original icon to prevent it from displaying alongside your custom one. Less: .node .node-icon svg {display: none;} Upvote 0 Downvote
Replace Less: content: "\f654"; By Less: .m-faContent(@fa-var-user); Change user by the FA name In XF 2.3, node icons are SVG, so you must remove the original icon to prevent it from displaying alongside your custom one. Less: .node .node-icon svg {display: none;}
Astra Active member Jul 5, 2024 #5 Old Nick said: Change user by the FA name Click to expand... Are icons now only for registered users? Upvote 0 Downvote
Old Nick said: Change user by the FA name Click to expand... Are icons now only for registered users?
O Old Nick Well-known member Jul 5, 2024 #6 What ? No. f654 seems to be cross so just replace content:"\f654"; by .m-faContent(@fa-var-cross); Upvote 0 Downvote