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

XF 1.3 Hide A Tab Using CSS

Axsel

New member
#1
Hi, I need to hide a main navigation tab using CSS.

I've tried the following in Extra.css, but none work.
Code:
li.navTab.wiki.PopupControl.PopupClosed.PopupContainerControl
{
    display: none;
}
and

Code:
.navTabs .navTab.wiki.PopupClosed
{
display: none;
}
 

Chris D

XenForo developer
Staff member
#4
Interesting. Inline styling is used to set display: list-item; on some tabs. You will need to override that like this:

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