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

Latest color change

Discussion in 'Styling and Customization Questions' started by doli, Jan 21, 2012.

  1. doli

    doli New Member

    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.

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Add this to EXTRA.css:

    .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.
  3. Arty

    Arty Well-Known Member

    If you want to change only that link, add something like this to node_list.css template:
    .node .nodeLastPost > a
        color: red;
    edit: Brogan was faster :)
  4. doli

    doli New Member

    Thanks, works great.

Share This Page