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

Forum node list background

Discussion in 'Styling and Customization Questions' started by Amdac, May 28, 2012.

  1. Amdac

    Amdac Member

    I'm trying to edit the background color and borders on the individual node list elements on the forum home. I've found the ability to do it and it works flawlessly by this in editing node_list.css:

    .nodeList .categoryForumNodeInfo,
    .nodeList .forumNodeInfo,
    .nodeList .pageNodeInfo,
    .nodeList .linkNodeInfo

    The problem is that when viewing threads, the message body uses the same attributes and it completely butchers the default appearance. Is there a way to edit the node list without it effecting threads as well?
  2. Amdac

    Amdac Member

    Alrighty, I just figured it out. For anyone else looking for the solution, I just added the following to node_list.css

    .nodeList .forumNodeInfo {
       background-color: #f8f8f8;
       border-left: 1px solid @secondaryLighter;
       border-right: 1px solid @secondaryLighter;
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It is usually best to add custom CSS to this template:

    Admin CP -> Appearance -> Templates -> EXTRA.css

    That way you avoid extra work during upgrades (custom templates).
  4. Amdac

    Amdac Member

    Ahh, good point. Thanks. :D

Share This Page