Hi bob, I managed to hide showcase in navigation bar using the code in extra.css but it's still showing in mobile view. I'm using a custom style by audentio.
I just double checked with one of the XenForo Developers to make sure, and as I thought, that is expected Core XenForo behavior. XenForo doesn't included the nav tab class added by the navigation_tabs listener for those links like they do for the physical tab itself. Its not just Showcase, its ALL addons that add Tabs, to include XenForo Resource Manager (no 'resources' class), XenForo Media Gallery (no 'xengallery' class).
The only other option to remove a tab without programming would be to disable the navigation_tab listener for a given tab. I don't recommend doing this as there are some adverse side effects when disabling a navigation_tabs listener (one of which is effecting the breadcrumbs, which is driven by a navigation tab). Hiding a Tab via CSS doesn't effect the Breadcrumbs behavior as the tab is still there, just hidden.
Being that it causes adverse effects, I highly recommend NOT doing this, but if you MUST... generally speaking, these are the steps:
Enable Debug mode in your XenForo config.php file
Log in to your Admin CP
Go to the Development tab
Click Code Event Listeners
Scroll down until you find the add-on you wish to change, e.g. Showcase **
Below that the Code Event Listeners are listed. Look for navigation_tabs.
Uncheck the check box floated to the right (unchecking will disable the listener).
Disable Debug mode.
** You can also FILTER the Code Event Listeners list by the specific listener (navigation_tabs).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.