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

How to hide a sub-sub-forum?

#1
Hey guys,

Let's say I have the following structure:

Category A
- Forum
- - Subforum 1
- - - Subofurm 2

When I go to Forum, by default I see Subforum 1 AND Subforum 2.
But I don't want that. I only want to see Subforum 2 when I goto Subforum 1.

So, how can I hide Subforum 2 when I visit Forum

Best regards,
Richey.
 

Brogan

XenForo moderator
Staff member
#2
Moved to general support from template modifications.

This is something I raised a while ago, unfortunately it's how it works.

I think Mike posted some edits a while ago but I can't locate the post.

I've resorted to using categories to stop them from appearing.
 

Jake Bunce

XenForo moderator
Staff member
#4
When I test this on 1.0.4 and 1.1.0 the second subforum shows only inside of the Sub-Forums popup:

Screen shot 2011-10-10 at 1.27.58 PM.png

This is the default behavior yet the OP seems to be describing a different behavior. Maybe it changed in the last 6 months. Do you want something different than this?
 

Brogan

XenForo moderator
Staff member
#5
If you have Sub3 which is a sub forum of Sub2, they will both show in the dropdown and when clicking into the Sub1 forum.
 

Jake Bunce

XenForo moderator
Staff member
#6
So he doesn't want this?

Screen shot 2011-10-10 at 1.40.10 PM.png

You can completely hide the sub-forum menu by adding this to EXTRA.css:

Code:
.nodeList .subForumsPopup
{
	display: none;
}
Let me know if you want something different.
 
#8
So he doesn't want this?

View attachment 19878

You can completely hide the sub-forum menu by adding this to EXTRA.css:

Code:
.nodeList .subForumsPopup
{
    display: none;
}
Let me know if you want something different.

I have tried adding this to our forum to hide the child nodes from the main forum page. However, it does not work, infact it does not do anything.

I want to make sure that sub-forums are never shown on the main page as it clutters the view. Any help please? @Jake Bunce @Brogan