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

What´s the correct class for Border in nodeInfo & discussionList

B

bogus

Guest
#1
I am bit confused.... I want to add a border to the Forum (nodeInfo) list in MainForum

I have tried now different classes and all are working, which make me thinking that anything can´t be correct

Main Forum Classes i have tried are:

.node .nodeInfo.primaryContent, .node .nodeInfo.secondaryContent { border: 1px solid black } <- works

.nodeList .categoryForumNodeInfo, .nodeList .forumNodeInfo, .nodeList .pageNodeInfo, .nodeList .linkNodeInfo { border: 1px solid black } <- works too
What is the correct class to add a surrounding border to the nodelist(ing)?
Thanks
 

Brogan

XenForo moderator
Staff member
#2
.nodeList {
border-color: red;
}

If you want to specify a new border attribute just for the main node list, then:
.nodeList.sectionMain {
border: 1px solid red;
}
 
B

bogus

Guest
#4
I have to ask again...
I added a shadow and a left/right border to the nodeInfo

Code:
.nodeList .node.level_1:last-child {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.node .nodeInfo.primaryContent {
    border-left: 1px solid #D1DAEA; border-right: 1px solid #D1DAEA;
}
The result looks like this
Unbenannt.jpg

I just want to be sure that i´ve used the correct classes