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

XF 1.2 Hide child node from index

#1
Is there a way I can hide some of my child nodes from showing on the index?

I know you can uncheck the box to show the node completely, but I still want it to show within the parent node.
 

Brogan

XenForo moderator
Staff member
#2
You can target them using CSS display:none, for example:
Code:
.node .subForumList li.node_34
{
display: none;
}
Use a browser inspection tool to check the node ID,
 

Brogan

XenForo moderator
Staff member
#8
No.

You will need a line of code for each node you want to hide, comma separated like so:
Code:
.node .subForumList li.node_34,
.node .subForumList li.node_17,
.node .subForumList li.node_23
{
display: none;
}