Ben44 Active member Oct 9, 2020 #1 I have 4 child forums in my Food and Drink and have now added 'Christmas Recipes' as that is on it's way. I would love to change the colour of the Christmas Recipes forum to red, is there a way of doing it please?
I have 4 child forums in my Food and Drink and have now added 'Christmas Recipes' as that is on it's way. I would love to change the colour of the Christmas Recipes forum to red, is there a way of doing it please?
Solution P P Paul B Oct 9, 2020 This will work, but only because the Christmas node is the last one. Add this to the extra.less template: Code: .node--id2 .node-subNodeFlatList > li:last-child a { color: red; } Change the 2 for the ID to the parent node ID.
This will work, but only because the Christmas node is the last one. Add this to the extra.less template: Code: .node--id2 .node-subNodeFlatList > li:last-child a { color: red; } Change the 2 for the ID to the parent node ID.
P Paul B XenForo moderator Staff member Oct 9, 2020 #2 Which part of the forum? Do you mean the node title on the index page? If so: Code: .node--id3 .node-title a { color: red; } Where 3 is the node ID. Upvote 0 Downvote
Which part of the forum? Do you mean the node title on the index page? If so: Code: .node--id3 .node-title a { color: red; } Where 3 is the node ID.
Ben44 Active member Oct 9, 2020 #3 Yes title of the child node 'Christmas Recipes'. Thanks Brogan, that doesn't look too difficult but where do I add it ? Upvote 0 Downvote
Yes title of the child node 'Christmas Recipes'. Thanks Brogan, that doesn't look too difficult but where do I add it ?
P Paul B XenForo moderator Staff member Oct 9, 2020 #4 I've just noticed your screenshot - it looks like you want it for sub nodes displayed inline. The code I posted only works for top level nodes. I'll need to fire up my local to get the code for a sub node. Upvote 0 Downvote
I've just noticed your screenshot - it looks like you want it for sub nodes displayed inline. The code I posted only works for top level nodes. I'll need to fire up my local to get the code for a sub node.
P Paul B XenForo moderator Staff member Oct 9, 2020 #6 This will work, but only because the Christmas node is the last one. Add this to the extra.less template: Code: .node--id2 .node-subNodeFlatList > li:last-child a { color: red; } Change the 2 for the ID to the parent node ID. Upvote 0 Downvote Solution
This will work, but only because the Christmas node is the last one. Add this to the extra.less template: Code: .node--id2 .node-subNodeFlatList > li:last-child a { color: red; } Change the 2 for the ID to the parent node ID.
Ben44 Active member Oct 9, 2020 #9 That is perfect thank you Brogan, you always come up trumps. Last edited: Oct 9, 2020 Upvote 0 Downvote