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

  • Thread starter Thread starter bogus
  • Start date Start date
B

bogus

Guest
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
 
.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;
}
 
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.webp

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