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

XF 1.4 Can't Hide Tabs

Travis

Active member
#1
I'm trying to hide my member tab and my Resource Manager Tab. I have been using the following code in Extra.css:

Code:
/* no Members tab in navbar */
li.navTab.members{
display: none;
}
/* no Members tab in navbar */
li.navTab.resources{
display: none;
}
It is having no effect. Any advice?
 

Russ

Well-known member
#4
If I may suggest... I'd do this instead for the members:

Code:
.navTab.members .navLink, .navTab.members .SplitCtrl {
display: none;
}
By hiding the entire tab you'll have a missing sub-nav when viewing member profiles and it looks a little awkward. If you hide just the link and the splitctrl(arrow) it should remove the text and spacing, and still allow a sub-nav on the member profiles.