Triax Member Dec 12, 2020 #1 Hello, Is there currently a way to change node icons for nodes with names that are identical, rather than having to change each icon by it's ID number? The current method I use is: CSS: .node--id3 .node-icon i::before{ content: '\f52b'; }
Hello, Is there currently a way to change node icons for nodes with names that are identical, rather than having to change each icon by it's ID number? The current method I use is: CSS: .node--id3 .node-icon i::before{ content: '\f52b'; }
P Paul B XenForo moderator Staff member Dec 12, 2020 #2 Only the ID can be used. Upvote 1 Downvote Solution
O Old Nick Well-known member Dec 12, 2020 #3 Hello, you can save a few lines of code with this: CSS: .node--id3, .node--id6, .node--id8, .node--id11 .node-icon i::before{ content: '\f52b'; } Upvote 0 Downvote
Hello, you can save a few lines of code with this: CSS: .node--id3, .node--id6, .node--id8, .node--id11 .node-icon i::before{ content: '\f52b'; }
webmasterxl Member Mar 21, 2022 #4 Is this the way to get different icons for forum nodes as well? By simply defining different CSS for the node IDs ? Thank you in advance webmasterxl Upvote 0 Downvote
Is this the way to get different icons for forum nodes as well? By simply defining different CSS for the node IDs ? Thank you in advance webmasterxl
BassMan Well-known member Mar 21, 2022 #5 webmasterxl said: Is this the way to get different icons for forum nodes as well? By simply defining different CSS for the node IDs ? Click to expand... Check here: https://xenforo.com/community/resources/cxf-change-default-fa-node-icon.7491/ Upvote 0 Downvote
webmasterxl said: Is this the way to get different icons for forum nodes as well? By simply defining different CSS for the node IDs ? Click to expand... Check here: https://xenforo.com/community/resources/cxf-change-default-fa-node-icon.7491/
webmasterxl Member Mar 21, 2022 #6 BassMan said: Check here: https://xenforo.com/community/resources/cxf-change-default-fa-node-icon.7491/ Click to expand... But this is, how ALL nodes are changed, isn't it? Upvote 0 Downvote
BassMan said: Check here: https://xenforo.com/community/resources/cxf-change-default-fa-node-icon.7491/ Click to expand... But this is, how ALL nodes are changed, isn't it?
BassMan Well-known member Mar 21, 2022 #7 No, just change teh red X in the code with your node id. Upvote 0 Downvote