• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Latest color change

doli

New member
#1
I want to change color of 'Latest' link on Homepage, so it looks like:

Latest: Thread title ...
Username, Dec 27, 2011

Probably I should add something in
'Miscellaneous' box of Style Properties: Forum / Node List ->Node Last Post, but just started learning css and I'm not sure what (probably .a something) and how.

Hope you can help me.

 

Brogan

XenForo moderator
Staff member
#2
Add this to EXTRA.css:

Code:
.node .nodeLastPost a {
color: red;
}
 
.node .nodeLastPost .lastThreadMeta a {
color: black;
}
The second block of code is to change the poster's name as it will inherit the first colour.
Change the colours to suit.
 

Arty

Well-known member
#3
If you want to change only that link, add something like this to node_list.css template:
Code:
.node .nodeLastPost > a
{
    color: red;
}
edit: Brogan was faster :)