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

Fixed Subforum Grid nodetitle.

Shelley

Well-known member
#1
I'm quite sure this is a bug or atleast I hope it is.

It seems that the subforums grid .nodetitles aren't distinguishing themselves as being read on forum_list.

I added something like below and it applies itself to subforums that have been read and forums that have not even been posted in yet. It's probably as designed but thought I'd ask just in case.

Code:
.nodeInfo.unread .nodeTitle:after, .subForumList.unread .subForumList li.nodeTitle:after {
  background-color: #AC1212;
  border-radius: 2px 2px 2px 2px;
  color: white;
  content: "NEW";
  font-size: 8px;
  margin-left: 5px;
  padding: 1px 5px;
}
 

Mike

XenForo developer
Staff member
#9
In general, it is a specificity issue. Our default selector (.node .nodeTitle) wasn't really specific enough. It was primarily meant to target the main title, not the other ones that it happened to hit (sub forums). This has been adjusted such that it targets only the main one. The unread CSS has been setup to target the sub-forums one as well but only when necessary.