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

XF 1.2 hide navigation bar sections from visitors

florencia

Active member
#1
How can I hide some sections like Forums and members from the top navigation bar but only for visitors to the site? I would like visitors to only see Home / About / Contact Us
 

florencia

Active member
#4
I didn't expected Xenforo to be so hard coding. Not many options are available from the control panel in an easy turn on/off interface.

the conditional thing you suggest is to much information for a solution. I found this other post to be of better help. Thank you anyways for your reply.

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

Add this:

Code:
.LoggedOut .navTabs .navTab.members
{
display: none !important;
}

.LoggedOut .navTabs .navTab.forums
{
display: none !important;
}
 

Tracy Perry

Well-known member
#5
I didn't expected Xenforo to be so hard coding. Not many options are available from the control panel in an easy turn on/off interface.

the conditional thing you suggest is to much information for a solution. I found this other post to be of better help. Thank you anyways for your reply.

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

Add this:

Code:
.LoggedOut .navTabs .navTab.members
{
display: none !important;
}

.LoggedOut .navTabs .navTab.forums
{
display: none !important;
}
Problem with that is it only removes it from the display. Doing it via template actually removes it.