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

XF 1.4 Change color of subforums text?

Heavy

Active member
#1
Hi XenForo Community!

I would like to change the color of the suforum text


Anyone who knows how to do?

Many thanks!
 

teletubbi

Well-known member
#11
This option is the right one.

Screenshot_7.jpg

And you can change the color of the icon in extra.css template

PHP:
li.node .forumNodeInfo .nodeIcon,
li.node .categoryForumNodeInfo .nodeIcon,
li.node .forumNodeInfo.unread .nodeIcon,
li.node .categoryForumNodeInfo.unread .nodeIcon {
  background: none;
}

li.node .forumNodeInfo .nodeIcon:before,
li.node .categoryForumNodeInfo .nodeIcon:before {
  display: block;
  color: red;
  content: '\f0e6';
  text-align: center;
  font-weight: normal;
  font-style: normal;
  font-size: 32px;
  font-family: 'FontAwesome';
  line-height: 1;
}

li.node .forumNodeInfo.unread .nodeIcon:before,
li.node .categoryForumNodeInfo.unread .nodeIcon:before {
  color: green;
  content: '\f086';
}



li.node.node_2 .forumNodeInfo .nodeIcon:before,
li.node.node_2 .categoryForumNodeInfo .nodeIcon:before {
  content: '\f07c';
}

li.node.node_3 .forumNodeInfo .nodeIcon:before,
li.node.node_3 .categoryForumNodeInfo .nodeIcon:before {
  content: '\f07c';
}
 
Last edited: