moving links into a drop down

petalstats

Member
hi everyone i was just wondering how can i move links to a drop down box on the navbar to save room in the navigation bar,As when i install a new modification it has filled my navbar up
 

petalstats

Member
I have this installed and i asked someone who has been doing xenforo for some time but he is not sure how to use that as the links have already been added like blog,group,users albums,xentrader
 

Eric Russell

Active member
ahh yeah, it'd be nice if addons came with an option to not show in the navbar so you could just link them with nodes as tabs. I'm sure someone around here knows the answer.
 

Jake Bunce

XenForo moderator
Staff member
The latest update for Nodes As Tabs supports tab selection for link-forums. So you can consolidate multiple unrelated pages under one node tab with link-forums. First enable tab selection for link-forums, then create a node structure like this:

Parent Node (is Tab)
- child link-forum (links to blogs)
- child link-forum (links to groups)
- child link-forum (links to albums)
- child link-forum (links to xentrader)

Or if you want to assign a non-node page to a non-node tab then you can just create a link-forum on its own that is manually assigned to a tabid. This is also described in the latest update.

This works well in most situations. Note that tab selection for link-forums uses relative URI matching. So if you link to members/ then it will pull in (for tab selection) all pages beginning with that route. This is an advanced application of Nodes As Tabs, but it should work for you.

After consolidating your tabs using link-forums you will probably want to hide the old tabs. You can do this using CSS.

Admin CP -> Appearance -> Templates -> EXTRA.css

Rich (BB code):
.navTabs .navTab.members
{
	display: none;
}
You must specify the tabid which can be seen in the HTML source.
 

petalstats

Member
I tried this and added the extra to the css but the links are still showing which template can i manually remove them
 

Jake Bunce

XenForo moderator
Staff member
I see this CSS:

Code:
.navTabs .navTab.XenTrader
{
	display: none;
}
But I see no tabid called "XenTrader". Did you remove that tab by other means? I just want to confirm the tabid in the source.
 
Top