I wish to change the Link node icon based on forum id using css.
I can do it for forum nodes, but I am struggling to get any css to change the link node icon.
Anyone have a suggestion?
This is an example of the code used and it works for forum nodes, but not link nodes.
I can do it for forum nodes, but I am struggling to get any css to change the link node icon.
Anyone have a suggestion?
This is an example of the code used and it works for forum nodes, but not link nodes.
CSS:
/*****node icon fontawesome changer per FORUM node*****/
.node.node--id37.node--forum.node--read .node-icon i:before {
.m-faBase();
.m-faContent("\f07c");
}
.node.node--id37.node--forum.node--unread .node-icon i:before {
.m-faBase();
.m-faContent("\f07c");
font-weight: 900;
}
/**********/
Last edited: