XF 1.2 How customize an individual node title

Matthew Hawley

Well-known member
Hello, how do I customize the node title for a certain forum, I tried this and it didn't work.

Code:
.nodeTitle, #nodeDescription-8 {
color: red;
}

@Shelley
 
Last edited:
Your selector is wrong. This may help you to write selectors and understand how they work (ie .class.another, .class > .class2, .class .class, etc):
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Selectors

Selectors are evaluated from left to right, so it looks for the first class first, then it moves down the DOM tree searching for any selectors after it using modifiers as described in the link I provided above.
 
As I said above, your selector is wrong. Look at how the DOM is laid out, which elements have which classes, and the order in which they appear (parent > child relationship).
 
Top Bottom