Forum node list background


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?


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;

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).