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

XF 1.4 Forum_List, How can I add border in each Category?

RoldanLT

Well-known member
#2
With this code:
Code:
/* Category Border */
.nodeList .node.level_1 {
  border: 1px solid @primaryLighter;
  border-top: none !important;
}
#forums {
  padding: 0px !important;
  border: none !important;
}
I got this now:
upload_2015-7-7_4-6-54.png

There is a gap on Category title block :/
 

Chris D

XenForo developer
Staff member
#3
Remove the sectionMain class from the <ol> that also has a "nodeList" class and an ID of "forums".

Then, you want to add the following CSS:

Code:
.nodeList .node.level_1
{
    border: 2px solid red;
    padding: 10px;
    border-radius: 5px;
}
 

RoldanLT

Well-known member
#4
This CSS fulfills my desire :)
Code:
.nodeList .node.level_1 {
  border: 1px solid @primaryLighter;
  border-top: none !important;
}
#content.forum_list #forums {
  padding: 0px !important;
  border: none !important;
}
.grid_column, .grid_full {
  padding: 0px !important;
}
#content.forum_list .node .nodeLastPost {
  margin-right: 8px !important;
}